From 76be7f7c6b2921aad6a68504a2020fb032eb5fde Mon Sep 17 00:00:00 2001 From: Leo Wang Date: Wed, 21 Dec 2016 02:34:44 -0500 Subject: [dovetail tool]check and get results for each cmd JIRA: DOVETAIL-166 Check the results of each cmds executed in test case 1. the results of pre_condition, post_condition, cmds need to be checked, so it can get a quick fail, dont need to go through the next step 2. it's more accurate to show where error occurred as early as possible 3. get results from shell scripts Change-Id: I5c1e59839c55b92de0e83e7e1eb552aa364b3f80 Signed-off-by: Leo Wang --- dovetail/conf/functest_config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dovetail/conf') diff --git a/dovetail/conf/functest_config.yml b/dovetail/conf/functest_config.yml index ceb894b3..6aea2809 100644 --- a/dovetail/conf/functest_config.yml +++ b/dovetail/conf/functest_config.yml @@ -6,12 +6,12 @@ functest: -e BUILD_TAG=dovetail -e CI_DEBUG=true -e DEPLOY_TYPE=baremetal' opts: '-id --privileged=true' pre_condition: - - 'echo test for precondition' + - 'echo test for precondition in functest' cmds: - 'functest env prepare' - 'functest testcase run {{validate_testcase}}' post_condition: - - 'echo test for postcondition' + - 'echo test for postcondition in functest' result: dir: '/home/opnfv/functest/results' store_type: 'file' -- cgit 1.2.3-korg