summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2016-11-17 02:11:30 +0000
committerxudan <xudan16@huawei.com>2016-11-17 02:11:30 +0000
commit3c58e018a12ed2f3c09c70c5577a740fbc7e3f14 (patch)
tree3662b59555a2d600f8d59a3b24d3c1f059662405
parent8a6bc92ff3b906a72194c7fa5db61ebb030052a4 (diff)
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 <xudan16@huawei.com>
-rw-r--r--dovetail/conf/functest_config.yml4
1 files 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:
- ''