[oe-commits] [openembedded-core] 02/03: oeqa/logparser: correctly set test result markers

git at git.openembedded.org git at git.openembedded.org
Fri Feb 21 22:25:57 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e108c1ca30c593d786c42ccd0dd591c456e8bdcf
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Fri Feb 21 21:15:43 2020 +0100

    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 5403721..60e16d5 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': [] }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list