summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-14 14:44:18 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2015-12-14 18:18:23 +0100
commit93f7a0087cbe9126e62455f0d2cdd7a2c3e0c7c0 (patch)
treed8b03bb991c7cb268aac189aa1110928e369ef1f /docker
parentf7f763859d7cc870df5523952ef8b0053e93bdae (diff)
Add template for BGPVPN test case in run_tests.sh
JIRA: FUNCTEST-99 Change-Id: I2c7da6b7e79906de1eb43804b8441821e16500cc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/run_tests.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh
index 55a6d905e..40c519efe 100755
--- a/docker/run_tests.sh
+++ b/docker/run_tests.sh
@@ -90,6 +90,18 @@ function run_test(){
info "Running Rally benchmark suite..."
python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_rally.py --debug ${FUNCTEST_REPO_DIR}/ all
;;
+ "bgpvpn_template")
+ info "Running BGPVPN Tempest test case..."
+ tempest_dir=$(find /root/.rally -type d -name for-deploy*)
+ # TODO:
+ # do the call of your test case here.
+ # the bgpvpn repo is cloned in $BGPVPN_REPO_DIR
+ # tempest is installed in $tempest_dir
+ # Suggestion:
+ # mkdir ${tempest_dir}/tempest/api/bgpvpn/
+ # cp ${BGPVPN_REPO_DIR}/networking_bgpvpn_tempest/<whatever you need> \
+ # ${tempest_dir}/tempest/api/bgpvpn/
+ # ${tempest_dir}/run_tempest.sh tempest.api.bgpvpn.<test_case_name>
esac
}