mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
98e5273971
commit
6e48f9aa23
@@ -19,9 +19,9 @@ class ResultsTextReport(object):
|
||||
self.ptests = {}
|
||||
self.ltptests = {}
|
||||
self.ltpposixtests = {}
|
||||
self.result_types = {'passed': ['PASSED', 'passed'],
|
||||
'failed': ['FAILED', 'failed', 'ERROR', 'error', 'UNKNOWN'],
|
||||
'skipped': ['SKIPPED', 'skipped']}
|
||||
self.result_types = {'passed': ['PASSED', 'passed', 'PASS', 'XFAIL'],
|
||||
'failed': ['FAILED', 'failed', 'FAIL', 'ERROR', 'error', 'UNKNOWN', 'XPASS'],
|
||||
'skipped': ['SKIPPED', 'skipped', 'UNSUPPORTED', 'UNTESTED', 'UNRESOLVED']}
|
||||
|
||||
|
||||
def handle_ptest_result(self, k, status, result, machine):
|
||||
|
||||
Reference in New Issue
Block a user