From 3c58e018a12ed2f3c09c70c5577a740fbc7e3f14 Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 17 Nov 2016 02:11:30 +0000 Subject: 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 --- dovetail/conf/functest_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: - '' -- cgit 1.2.3-korg