Merge "Add template for BGPVPN test case in run_tests.sh"
authorjose.lausuch <jose.lausuch@ericsson.com>
Tue, 15 Dec 2015 08:47:59 +0000 (08:47 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Tue, 15 Dec 2015 08:47:59 +0000 (08:47 +0000)
docker/run_tests.sh

index 081fe02..8b48a82 100755 (executable)
@@ -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
 }