From: xudan Date: Thu, 17 Nov 2016 02:11:30 +0000 (+0000) Subject: dovetail tool: upstream functest env preparation and CLI adaption X-Git-Tag: ovp.0.9.0~288 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F24455%2F1;p=dovetail.git dovetail tool: upstream functest env preparation and CLI adaption 1. Functest has changed it's directory structure, so cmds in functest_config.yml cannot run successfully. 2. Use functest CLI to prepare and run test cases instead of running prepare_env.py or run_tests.py. JIRA: DOVETAIL-40 Change-Id: I7907dd70fd671efbed5f4132c0d76d6eb90b63eb Signed-off-by: xudan --- diff --git a/dovetail/conf/functest_config.yml b/dovetail/conf/functest_config.yml index ef2b7fb8..d32fe87f 100644 --- a/dovetail/conf/functest_config.yml +++ b/dovetail/conf/functest_config.yml @@ -10,8 +10,8 @@ functest: - 'echo test for precondition' testcase: cmds: - - 'python /home/opnfv/repos/functest/ci/prepare_env.py start' - - 'python /home/opnfv/repos/functest/ci/run_tests.py -t {{script_testcase}} -r' + - 'functest env prepare' + - 'functest testcase run {{script_testcase}}' post_condition: cmds: - ''