diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-07-11 15:19:30 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-07-13 12:50:11 +0200 |
commit | 230b9df08d040659ba12661a505441f26508ef7a (patch) | |
tree | 47f881f5fd9c5674320ba7d49945137c20e690d0 /ci/exec_test.sh | |
parent | c32d05b2c25438997feda781151a4bd09f94cf03 (diff) |
Propose a new python file to launch ODL testing
OpenDaylightTesting.py safely replaces start_tests.sh.
It also adds the report of the basic test of RESTConf which was
previously ignored.
JIRA: FUNCTEST-367
Change-Id: I8ba288271455fd9f31cf87aa65bf45cfb53cd8d6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'ci/exec_test.sh')
-rwxr-xr-x | ci/exec_test.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh index 32988f87..89e29662 100755 --- a/ci/exec_test.sh +++ b/ci/exec_test.sh @@ -80,9 +80,11 @@ function run_test(){ ;; "odl") odl_tests - ODL_WEB_PORT=$odl_port ODL_IP=$odl_ip KEYSTONE_IP=$keystone_ip NEUTRON_IP=$neutron_ip \ - TENANT_NAME=${OS_TENANT_NAME} USR_NAME=${OS_USERNAME} PASS=${OS_PASSWORD} \ - ${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/start_tests.sh + ${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/OpenDaylightTesting.py \ + --keystoneip $keystone_ip --neutronip $neutron_ip \ + --osusername ${OS_USERNAME} --ostenantname ${OS_TENANT_NAME} \ + --ospassword ${OS_PASSWORD} \ + --odlip $odl_ip --odlwebport $odl_port # push results to the DB in case of CI if [[ "$report" == "-r" && |