aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-15 08:47:59 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-12-15 08:47:59 +0000
commitba5f3f4d94bf91824655eef49d1900e015859288 (patch)
treed1fef44071d2e9ddee8d46729ad26817fdda9648 /docker
parent824638d3e936bdb77799203d8e1ea37c95434404 (diff)
parent93f7a0087cbe9126e62455f0d2cdd7a2c3e0c7c0 (diff)
Merge "Add template for BGPVPN test case in run_tests.sh"
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 081fe02df..8b48a8210 100755
--- a/docker/run_tests.sh
+++ b/docker/run_tests.sh
@@ -96,6 +96,18 @@ function run_test(){
python ${FUNCTEST_REPO_DIR}/testcases/VIM/OpenStack/CI/libraries/run_rally.py \
--debug ${FUNCTEST_REPO_DIR}/ all ${report}
;;
+ "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
}