X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Ffunctest%2Ffunctest-suite.sh;h=9b7f1356c1756b339898cea337ecb55cb2a1ba79;hb=78f4ee940f970ebcf2e9d76c4f0013c0cbf61bb4;hp=469a5772684e980631a79704c83d4229b5028d7b;hpb=e5b452dfa55f8fb7a6bcc6895ae4c671b1c871cb;p=releng.git diff --git a/jjb/functest/functest-suite.sh b/jjb/functest/functest-suite.sh index 469a57726..9b7f1356c 100755 --- a/jjb/functest/functest-suite.sh +++ b/jjb/functest/functest-suite.sh @@ -10,7 +10,11 @@ global_ret_val=0 tests=($(echo $FUNCTEST_SUITE_NAME | tr "," "\n")) for test in ${tests[@]}; do - cmd="run_tests -t $test" + if [ "$BRANCH" == 'master' ]; then + cmd="run_tests -t $test" + else + cmd="python /home/opnfv/repos/functest/functest/ci/run_tests.py -t $test" + fi docker exec $container_id $cmd let global_ret_val+=$? done