summaryrefslogtreecommitdiffstats
path: root/scripts/conf/functest_config.yml
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2016-10-08 02:43:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-08 02:43:57 +0000
commitbee8604246520fc40c1b3187dd2fde1896f64f35 (patch)
treeac83d0287ebce2c865ea2900b3bf8b09367e2c19 /scripts/conf/functest_config.yml
parentf8a61f8841cc96f06efe31e439b3b185ecb07280 (diff)
parent39942dc9c5bc152a6ed20534755cc0dc38d85ede (diff)
Merge "Use template to unify commands in functest/yardstick"
Diffstat (limited to 'scripts/conf/functest_config.yml')
-rw-r--r--scripts/conf/functest_config.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/conf/functest_config.yml b/scripts/conf/functest_config.yml
index 86e6ce75..cd33dc59 100644
--- a/scripts/conf/functest_config.yml
+++ b/scripts/conf/functest_config.yml
@@ -6,10 +6,19 @@ functest:
-e BUILD_TAG=dovetail -e CI_DEBUG=true -e DEPLOY_TYPE=baremetal'
opts: '-id --privileged=true'
result_dir: '/home/opnfv/functest/results'
+ pre_condition:
+ cmds:
+ - 'echo test for precondition'
testcase:
pre_cmd: 'python /home/opnfv/repos/functest/ci/prepare_env.py start'
- exec_cmd: 'python /home/opnfv/repos/functest/ci/run_tests.py -t %s -r'
+ exec_cmd: 'python /home/opnfv/repos/functest/ci/run_tests.py -t {{script_testcase}} -r'
post_cmd: ''
+ cmds:
+ - 'python /home/opnfv/repos/functest/ci/prepare_env.py start'
+ - 'python /home/opnfv/repos/functest/ci/run_tests.py -t {{script_testcase}} -r'
+ post_condition:
+ cmds:
+ - ''
result:
dir: '/home/opnfv/functest/results'
store_type: 'file'