X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=run_tests.sh;h=19312935d3810448d2fe210d2dea383bdf4cec6d;hb=d84a31795de0ba81f07f063574dab6f31b2198e7;hp=2257e75fa221b92f15b75e5204660d98f0953cdc;hpb=a54df93abcc028f15da96538bc99bcfd03703f4b;p=bottlenecks.git diff --git a/run_tests.sh b/run_tests.sh index 2257e75f..19312935 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -78,7 +78,7 @@ function run_test(){ check_testcase -rubbos $i #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 + file=${BASEDIR}/testsuites/rubbos/testcase_cfg/${i}.yaml python /home/opnfv/bottlenecks/testsuites/rubbos/run_rubbos.py -c $file done ;; @@ -95,7 +95,7 @@ function run_test(){ check_testcase -vstf $i #adjust config parameters #run test case - file={$BASEDIR}/testsuites/vstf/testcase_cfg/{$i}.yaml + file=${BASEDIR}/testsuites/vstf/testcase_cfg/${i}.yaml python /home/opnfv/bottlenecks/testsuites/vstf/run_vstf.py -c $file done ;; @@ -140,6 +140,10 @@ if [ "${SUITE}" != "" ]; then info "Tests to execute: ${SUITE}" fi +# Source credentials +info "Sourcing Credentials openstack.creds to run the tests.." +source /home/opnfv/bottlenecks/config/openstack.creds + #run tests if [ "${SUITE}" != "" ]; then for i in "${suite_exec[@]}"; do