From 230b9df08d040659ba12661a505441f26508ef7a Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 11 Jul 2016 15:19:30 +0200 Subject: Propose a new python file to launch ODL testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ci/exec_test.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ci/exec_test.sh') 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" && -- cgit 1.2.3-korg