diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-14 11:45:19 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-01-14 15:01:23 +0000 |
commit | 2f3d438bd74f39deaca80cd8adbc9a636ccb3227 (patch) | |
tree | fb62a35e92d7618be1a8018d03eac527749926d7 /docker | |
parent | c8e55f0a6ff26cbf179ef518713b1fe104ff8a05 (diff) |
set up mechanism to tun only runnable tests in CI based on scenario
JIRA: FUNCTEST-119
Change-Id: I342c027c79fab1cc9fa65ddf8222e7b12b946af8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit cdf5e6a2fd05f07a5db92175777113d732258a94)
Diffstat (limited to 'docker')
-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 \ |