summaryrefslogtreecommitdiffstats
path: root/scripts/lib/resulttool
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2019-08-28 05:06:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-28 16:44:09 +0100
commit6e48f9aa23e334529e63dd399dee733a138b8059 (patch)
tree1b60768b1fabca4d2a0647c4af222dafeb46f7d7 /scripts/lib/resulttool
parent98e52739716f82d8a5f62035ee0b9c44588f8039 (diff)
downloadpoky-6e48f9aa23e334529e63dd399dee733a138b8059.tar.gz
scripts/lib/resulttool/report.py: Add more result types
Add additional result types into the dictionary to handle dejagnu style test results. These include PASS, FAIL, XPASS, XFAIL, UNSUPPORTED, UNTESTED, UNRESOLVED and ERROR. (From OE-Core rev: 684fc36402a23760b203f4761f284043031c799c) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool')
-rw-r--r--scripts/lib/resulttool/report.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/resulttool/report.py b/scripts/lib/resulttool/report.py
index f706280aa7..8b03717d29 100644
--- a/scripts/lib/resulttool/report.py
+++ b/scripts/lib/resulttool/report.py
@@ -19,9 +19,9 @@ class ResultsTextReport(object):
19 self.ptests = {} 19 self.ptests = {}
20 self.ltptests = {} 20 self.ltptests = {}
21 self.ltpposixtests = {} 21 self.ltpposixtests = {}
22 self.result_types = {'passed': ['PASSED', 'passed'], 22 self.result_types = {'passed': ['PASSED', 'passed', 'PASS', 'XFAIL'],
23 'failed': ['FAILED', 'failed', 'ERROR', 'error', 'UNKNOWN'], 23 'failed': ['FAILED', 'failed', 'FAIL', 'ERROR', 'error', 'UNKNOWN', 'XPASS'],
24 'skipped': ['SKIPPED', 'skipped']} 24 'skipped': ['SKIPPED', 'skipped', 'UNSUPPORTED', 'UNTESTED', 'UNRESOLVED']}
25 25
26 26
27 def handle_ptest_result(self, k, status, result, machine): 27 def handle_ptest_result(self, k, status, result, machine):