mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
oeqa/logparser: correctly set test result markers
I spotted this by noticing ptests started to unexpectedly pass, which shouldn't happen yet. (From OE-Core rev: 1cd6e9a8fdfef927916c6cea2371fc0430b1ffdf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d9d815852c
commit
ff952280c8
@@ -26,7 +26,7 @@ class PtestParser(object):
|
||||
section_regex['timeout'] = re.compile(r"^TIMEOUT: .*/(.+)/ptest")
|
||||
|
||||
# Cache markers so we don't take the re.search() hit all the time.
|
||||
markers = ("PASSED", "FAILED", "SKIPPED", "BEGIN:", "END:", "DURATION:", "ERROR: Exit", "TIMEOUT:")
|
||||
markers = ("PASS:", "FAIL:", "SKIP:", "BEGIN:", "END:", "DURATION:", "ERROR: Exit", "TIMEOUT:")
|
||||
|
||||
def newsection():
|
||||
return { 'name': "No-section", 'log': [] }
|
||||
|
||||
Reference in New Issue
Block a user