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/
}
+++ /dev/null
-#!/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
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
+++ /dev/null
-#!/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"
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