[OE-core] [PATCH 2/2] oeqa/logparser: correctly set test result markers
Alexander Kanavin
alex.kanavin at gmail.com
Fri Feb 21 20:15:43 UTC 2020
I spotted this by noticing ptests started to unexpectedly pass,
which shouldn't happen yet.
Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
meta/lib/oeqa/utils/logparser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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': [] }
--
2.25.0
More information about the Openembedded-core
mailing list