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
#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")
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