diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-02-21 21:15:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-22 23:51:46 +0000 |
commit | 1cd6e9a8fdfef927916c6cea2371fc0430b1ffdf (patch) | |
tree | 1aa3cf684fd2a4bf4527b91f8f9a5aba65c88acf /meta | |
parent | 28ad55f3cee1446c368e03f1853de46ba4ee4983 (diff) | |
download | openembedded-core-contrib-1cd6e9a8fdfef927916c6cea2371fc0430b1ffdf.tar.gz |
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 <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/utils/logparser.py | 2 |
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): 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': [] } |