From: Alexander Kanavin Date: Fri, 21 Feb 2020 20:15:43 +0000 (+0100) Subject: oeqa/logparser: correctly set test result markers X-Git-Tag: uninative-2.8~72 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1cd6e9a8fdfef927916c6cea2371fc0430b1ffdf;p=openembedded-core.git oeqa/logparser: correctly set test result markers I spotted this by noticing ptests started to unexpectedly pass, which shouldn't happen yet. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/utils/logparser.py b/meta/lib/oeqa/utils/logparser.py index 5403721073..60e16d500e 100644 --- a/meta/lib/oeqa/utils/logparser.py +++ b/meta/lib/oeqa/utils/logparser.py @@ -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': [] }