summaryrefslogtreecommitdiffstats
path: root/scripts/conf/yardstick_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/yardstick_config.yml
parentf8a61f8841cc96f06efe31e439b3b185ecb07280 (diff)
parent39942dc9c5bc152a6ed20534755cc0dc38d85ede (diff)
Merge "Use template to unify commands in functest/yardstick"
Diffstat (limited to 'scripts/conf/yardstick_config.yml')
-rw-r--r--scripts/conf/yardstick_config.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/conf/yardstick_config.yml b/scripts/conf/yardstick_config.yml
index 9eda6e54..7a40dc70 100644
--- a/scripts/conf/yardstick_config.yml
+++ b/scripts/conf/yardstick_config.yml
@@ -9,9 +9,18 @@ yardstick:
result_dir: '/tmp/yardstick/result'
shell_dir: '/tmp/yardstick'
shell_dir_name: 'prepare_test_yard'
+ pre_condition:
+ cmds:
+ - 'echo test for precondition'
testcase:
build_test_cmd: '/tmp/yardstick/build_run_test.sh %s.yaml /tmp/yardstick/result/%s.out'
test_cmd: '/tmp/yardstick/run_test.sh %s.yaml /tmp/yardstick/result/%s.out'
+ cmds:
+ - '/tmp/yardstick/build_run_test.sh {{script_testcase}}.yaml /tmp/yardstick/result/{{testcase}}.out'
+ - '/tmp/yardstick/run_test.sh {{script_testcase}}.yaml /tmp/yardstick/result/{{testcase}}.out'
+ post_condition:
+ cmds:
+ - ''
result:
dir: '/tmp/yardstick/result'
store_type: 'file'