summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-02-21 21:15:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-22 23:57:27 +0000
commitff952280c8ecd160eacb3e77a77158085cb32c0a (patch)
tree75156485baa54dd7fc16394fb2f301175be83498 /meta/lib
parentd9d815852cad5551b658ce6468e0992116004d0e (diff)
downloadpoky-ff952280c8ecd160eacb3e77a77158085cb32c0a.tar.gz
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>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/utils/logparser.py2
1 files changed, 1 insertions, 1 deletions
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):
26 section_regex['timeout'] = re.compile(r"^TIMEOUT: .*/(.+)/ptest") 26 section_regex['timeout'] = re.compile(r"^TIMEOUT: .*/(.+)/ptest")
27 27
28 # Cache markers so we don't take the re.search() hit all the time. 28 # Cache markers so we don't take the re.search() hit all the time.
29 markers = ("PASSED", "FAILED", "SKIPPED", "BEGIN:", "END:", "DURATION:", "ERROR: Exit", "TIMEOUT:") 29 markers = ("PASS:", "FAIL:", "SKIP:", "BEGIN:", "END:", "DURATION:", "ERROR: Exit", "TIMEOUT:")
30 30
31 def newsection(): 31 def newsection():
32 return { 'name': "No-section", 'log': [] } 32 return { 'name': "No-section", 'log': [] }