summaryrefslogtreecommitdiffstats
path: root/dovetail
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-02-20 01:28:24 -0500
committerMatthewLi <matthew.lijun@huawei.com>2017-02-20 01:37:44 -0500
commit85568afd806e36ff9885b52313b32b70c9693ad0 (patch)
treeae21297d6af729d60ec47cb70c4345b4b66ff721 /dovetail
parentbb1c8231f69f8e55d5e7411618d0c2e4d06287ad (diff)
dovetail tool: bugfix for dovetail report and docker build
JIRA: DOVETAIL-353 JIRA: DOVETAIL-354 related patch: https://gerrit.opnfv.org/gerrit/#/c/29049/ Change-Id: Ic871abbda62dead7cf5e23e6117c9885d637c7fb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'dovetail')
-rw-r--r--dovetail/report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/report.py b/dovetail/report.py
index a35ec323..d4be67c6 100644
--- a/dovetail/report.py
+++ b/dovetail/report.py
@@ -439,9 +439,9 @@ class YardstickChecker(object):
@staticmethod
def check(testcase, result):
if not result:
- testcase.passed(False)
+ testcase.passed('FAIL')
else:
- testcase.passed(result['criteria'] == 'PASS')
+ testcase.passed(result['criteria'])
return