]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/logparser: correctly set test result markers
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 21 Feb 2020 20:15:43 +0000 (21:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 22 Feb 2020 23:51:46 +0000 (23:51 +0000)
I spotted this by noticing ptests started to unexpectedly pass,
which shouldn't happen yet.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/logparser.py

index 540372107366940b44f56f589826eeedd3f1d01a..60e16d500eddc24ffede693e72b4c554a5ac1be8 100644 (file)
@@ -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': [] }