summaryrefslogtreecommitdiffstats
path: root/docker/run_tests.sh
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-01-08 15:27:00 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-11 13:36:31 +0000
commit970ee3eb202a5986b2da918ef034d1a1aba4520a (patch)
tree44dab142fb9cb3860f3e5b8c6ccae7f3be4faebd /docker/run_tests.sh
parent55048bcbd8db2c8975faa233a260fbc3222e9dcd (diff)
Prepare onos integration in Functest
JIRA: FUNCTEST-50 Change-Id: I50c7db5a05dd5aa78321ba77fab3902232ea4f36 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 2140461198cdb8dea2f60a66a0ddf90bb1ef54da)
Diffstat (limited to 'docker/run_tests.sh')
-rwxr-xr-xdocker/run_tests.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh
index 28830e845..dcaaeb9bb 100755
--- a/docker/run_tests.sh
+++ b/docker/run_tests.sh
@@ -17,7 +17,7 @@ where:
-h|--help show this help text
-r|--report push results to database (false by default)
-t|--test run specific set of tests
- <test_name> one or more of the following: vping,odl,rally,tempest,vims. Separated by comma.
+ <test_name> one or more of the following: vping,odl,rally,tempest,vims,onos. Separated by comma.
examples:
@@ -111,6 +111,10 @@ function run_test(){
# 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>
+ ;;
+ "onos")
+ info "Running ONOS test case..."
+ python ${FUNCTEST_REPO_DIR}/testcases/Controllers/ONOS/Teston/CI/onosfunctest.py
esac
}