[Title] remove executer and change test dir
authorHyoun Jiil <jiil.hyoun@samsung.com>
Mon, 5 Aug 2013 01:45:22 +0000 (10:45 +0900)
committerHyoun Jiil <jiil.hyoun@samsung.com>
Mon, 5 Aug 2013 01:45:22 +0000 (10:45 +0900)
[Type] Enhancement
[Module] Toolchain /
[Priority] Major
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I04cb094dbc14ab9fc02b74dd4e9b088c3c78fd60

package/build.linux
test/analyze.sh [deleted file]
test/performance_analyzer
test/performance_run.sh [deleted file]
test/statistics

index b71d09e85fe240bc7f25f30659cf952241a3065b..5d4e3f419fdacea8501db99cd3cf03bc13ce8c41 100755 (executable)
@@ -28,10 +28,8 @@ install()
        cp -f $SRCDIR/web-svr $BIN_DIR/
        echo $VERSION > $BIN_DIR/VERSION
 
-       TEST_DIR=$SRCDIR/package/dibs-test.package.${TARGET_OS}/data/tools/dibs/test
+       TEST_DIR=$SRCDIR/package/dibs-test.package.${TARGET_OS}/data/test/dibs
        mkdir -p $TEST_DIR/performance_log
        cp -f $SRCDIR/test/performance_analyzer $TEST_DIR/
        cp -f $SRCDIR/test/statistics $TEST_DIR/
-       cp -f $SRCDIR/test/performance_run.sh $TEST_DIR/
-       cp -f $SRCDIR/test/analyze.sh $TEST_DIR/
 }
diff --git a/test/analyze.sh b/test/analyze.sh
deleted file mode 100755 (executable)
index 3d38e6c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh -x
-dir=`dirname $0`
-$dir/performance_analyzer -d "Mysql:database=rsa;host=172.21.17.46;port=3306" -u "root" -p "qmscore" -w "start_time >= '`date '+%Y-%m-%d'`' AND distribution_id = 9 AND status = 'FINISHED'" -n common-eplugin -c performance_log/`date '+%Y-%m-%d'`.sample.csv
index 34b3542e7730100190630925335dcae79760552a..a4b75cde3b4a0b32e911a466b61a6f7cb54153e6 100755 (executable)
@@ -142,14 +142,14 @@ def option_parse
                opts.on('-n', '--name <project name>', 'project name for print seperate by \",\"') do |name|
                        options[:name] = name.strip.split(",")
                end
-               opts.on('-w', '--where <db where parse>', 'ex) jobs.id >= 79000') do |where|
+               opts.on('-w', '--where <db where parse>', 'ex) id >= 79000') do |where|
                        options[:where] = "WHERE " + where
                end
                opts.on('-c', '--csv <file>', 'save csv file') do |cvs|
                        options[:cvs] = cvs
                end
                opts.on('-h', '--help', 'print this message') do |help|
-                       puts "useage: performance_analizer -d \"Mysql:database=rsa;host=172.21.17.46;port=3306\" -u \"root\" -p \"password\" -w \"start_time >= '2013-07-21'\" -c result.cvs"
+                       puts "useage: performance_analizer -d \"Mysql:database=<database>;host=<host_ip>;port=<port>\" -u \"<user>\" -p \"<password>\" -w \"start_time >= '2013-07-21'\" -c result.cvs"
                        puts opts.help
                        exit
                end
diff --git a/test/performance_run.sh b/test/performance_run.sh
deleted file mode 100755 (executable)
index 1e86bd2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-#full build
-#../build-cli build -N "assignmenttracing-eplugin,certificate-generator,cli,codecoverage-eplugin,common-eplugin,dynamic-analysis-ide-eplugin,dynamic-analyzer,emulator-kernel,emulator-manager,emulator-storages,event-injector,eventinjector-eplugin,gcc-4.5,gdb-7.5,image-creator,js-assignmenttracing-eplugin,jsdt-extension-eplugin,meta-emulator-tools,meta-sdk-dev-tools,meta-tizen-components,meta-tizen-documents,meta-tizen-ide,meta-tizen-installtype,native-eplugin,native-ext-eplugin,native-ui-builder,native-ui-effect-builder,nativeappcommon-eplugin,nativecommon-eplugin,nativeplatform-eplugin,nativeplatform-sample,pde-build,product,profiler-eplugin,qemu,rpm-tools,sbi-plugins,sdb,sdk-build,smart-build-interface,ui-customizer,unittest-eplugin,unittest-framework,version-manager,vgabios,web-sample,web-simulator,web-ui-builder-eplugin,web-ui-fw,webapp-eplugin,websimulator-eplugin" -d 172.21.17.46:3336 -u "admin@user" -w 1 -D test --rebuild -o "ubuntu-32,ubuntu-64,windows-32,windows-64,macos-64"
-# reverse build
-../build-cli build -N "common-eplugin" -d 172.21.17.46:3336 -u "admin@user" -w 1 -D test --rebuild -o "ubuntu-32,ubuntu-64,windows-32,windows-64,macos-64"
index 8d763d5d2fa52b5ab30ec165346f1f85ef014296..c5193f8d909ade7e73c3b62dee4db88f74e08d2f 100755 (executable)
@@ -121,14 +121,14 @@ def option_parse
                opts.on('-p', '--password <user password>', 'user password') do |pass|
                        options[:pass] = pass
                end
-               opts.on('-w', '--where <db where parse>', 'ex) jobs.id >= 79000') do |where|
+               opts.on('-w', '--where <db where parse>', 'ex) id >= 79000') do |where|
                        options[:where] = "WHERE " + where
                end
                opts.on('-c', '--csv <file>', 'save csv file') do |csv|
                        options[:csv] = csv
                end
                opts.on('-h', '--help', 'print this message') do |help|
-                       puts "useage: performance_analizer -d \"Mysql:database=rsa;host=172.21.17.46;port=3306\" -u \"root\" -p \"password\" -w \"start_time >= '2013-07-21'\" -c result.csv"
+                       puts "useage: performance_analizer -d \"Mysql:database=<database>;host=<host ip>;port=<port>\" -u \"<user>\" -p \"<password>\" -w \"start_time >= '2013-07-21'\" -c result.csv"
                        puts opts.help
                        exit
                end