diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2015-12-22 16:14:00 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2015-12-22 16:23:33 +0100 |
commit | 9627bf480703002f91464fc959903e294473aa8e (patch) | |
tree | 0fcb6b4437a9ed7b36523119885d279999610364 /docker | |
parent | 13c0c2d15d2af4dd1a8b4f82e481a8d1574c274d (diff) |
Use repos_dir env variable in all Functest scripts
JIRA: FUNCTEST-90
This way, we remove the 'functest repo' input parameter
on the python scripts call and we make it simpler using
the available repos_dir env variable which points to
/home/opnfv/repos
Change-Id: I7d74bf1bc8d89f8f14397fcb9dafc22ee1482f84
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/run_tests.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh index 00d53487..749c8b12 100755 --- a/docker/run_tests.sh +++ b/docker/run_tests.sh @@ -34,7 +34,7 @@ arr_test=(vping odl tempest vims rally) function clean_openstack(){ python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py \ - --debug ${FUNCTEST_REPO_DIR}/ + --debug } function run_test(){ @@ -46,7 +46,7 @@ function run_test(){ "vping") info "Running vPing test..." python ${FUNCTEST_REPO_DIR}/testcases/vPing/CI/libraries/vPing.py \ - --debug ${FUNCTEST_REPO_DIR}/ ${report} + --debug ${report} ;; "odl") info "Running ODL test..." @@ -79,7 +79,7 @@ function run_test(){ "tempest") info "Running Tempest smoke tests..." python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_tempest.py \ - --debug ${FUNCTEST_REPO_DIR}/ -m smoke ${report} + --debug -m smoke ${report} # save tempest.conf for further troubleshooting tempest_conf="${RALLY_VENV_DIR}/tempest/for-deployment-*/tempest.conf" if [ -f ${tempest_conf} ]; then @@ -90,13 +90,13 @@ function run_test(){ "vims") info "Running vIMS test..." python ${FUNCTEST_REPO_DIR}/testcases/vIMS/CI/vIMS.py \ - --debug ${FUNCTEST_REPO_DIR}/ ${report} + --debug ${report} clean_openstack ;; "rally") info "Running Rally benchmark suite..." python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_rally.py \ - --debug ${FUNCTEST_REPO_DIR}/ all ${report} + --debug all ${report} clean_openstack ;; "bgpvpn_template") |