diff options
Diffstat (limited to 'docker/run_tests.sh')
-rwxr-xr-x | docker/run_tests.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh index bc026d92f..46fe6cd57 100755 --- a/docker/run_tests.sh +++ b/docker/run_tests.sh @@ -30,7 +30,14 @@ examples: # NOTE: Still not 100% working when running the tests offline=false report="" -arr_test=(vping odl tempest vims rally) +# Get the list of runnable tests +# Check if we are in CI mode +if [ -n "$DEPLOY_SCENARIO" ]; then + testcase=`cat /home/opnfv/functest/conf/testcase-list.txt` + arr_test=("$testcase") +elif + arr_test=(vping odl tempest vims rally) +fi function clean_openstack(){ python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py \ |