aboutsummaryrefslogtreecommitdiffstats
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 14:30:50 +0100
commit2140461198cdb8dea2f60a66a0ddf90bb1ef54da (patch)
treec8be5f9904d99cc0038504fc595ed7db559d6f44 /docker/run_tests.sh
parentf9bd5abbef5a33abcb84b2652d359f469bf06869 (diff)
Prepare onos integration in Functest
JIRA: FUNCTEST-50 Change-Id: I50c7db5a05dd5aa78321ba77fab3902232ea4f36 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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 28830e84..dcaaeb9b 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
}