X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=run_tests.sh;h=59538eeef3002314f8f8116acb331d91f1a04d10;hb=790fd9366f396114a5fe2f8dd0a22a7413a3b897;hp=b87d2fcbf5f1440a5166e1ee6f39ed3f16ea3ad6;hpb=3c0f6d5ced2474240fa14f5594b84c527767edca;p=bottlenecks.git diff --git a/run_tests.sh b/run_tests.sh index b87d2fcb..59538eee 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -71,7 +71,7 @@ function run_test(){ if [[ -f $test_file ]]; then testcases=($(cat $test_file)) else - error("no rubbos test suite file ") + error "no rubbos test suite file" fi for i in "${testcases[@]}"; do #check if the testcase is legal or not @@ -79,7 +79,7 @@ function run_test(){ #adjust config parameters, different test suite has different methods, take rubbos as an example #run test case, different test suite has different methods file={$BASEDIR}/testsuites/rubbos/testcase_cfg/{$i}.yaml - python ${BOTTLENECK_TOP_DIR}/testsuites/rubbos/run_rubbos.py $file + python /home/opnfv/bottlenecks/testsuites/rubbos/run_rubbos.py -c $file done ;; "vstf") @@ -88,7 +88,7 @@ function run_test(){ if [[ -f $test_file ]]; then testcases=($(cat $test_file)) else - error("no vstf test suite file ") + error "no vstf test suite file " fi for i in "${testcases[@]}"; do #check if the testcase is legal or not