diff options
author | Leo Wang <grakiss.wanglei@huawei.com> | 2016-12-21 02:34:44 -0500 |
---|---|---|
committer | Leo wang <grakiss.wanglei@huawei.com> | 2016-12-22 02:14:26 +0000 |
commit | 76be7f7c6b2921aad6a68504a2020fb032eb5fde (patch) | |
tree | d46b86eff31cd11fc50b6cdc9f45965e14a919b8 /dovetail/run.py | |
parent | 1124a453feb24308f58bda363c229f632cafd82f (diff) |
[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 <grakiss.wanglei@huawei.com>
Diffstat (limited to 'dovetail/run.py')
-rwxr-xr-x | dovetail/run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/run.py b/dovetail/run.py index 8a91e4b3..85e65667 100755 --- a/dovetail/run.py +++ b/dovetail/run.py @@ -64,8 +64,8 @@ def run_test(testsuite, testarea, logger): end_time = time.time() duration = end_time - start_time - db_result = Report.get_result(testcase) - Report.check_result(testcase, db_result) + result = Report.get_result(testcase) + Report.check_result(testcase, result) return duration |