]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ptest: report tests that were killed on timeout
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 17 Sep 2023 09:38:37 +0000 (11:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Sep 2023 07:53:05 +0000 (08:53 +0100)
I'm not sure if this was reported correctly before, but it
currently is not. Test that is stuck is an error in itself.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ptest.py

index 23a71ea064cff54468b0bd130bb21775a724d844..fbaeb84d006d9285c83493a2e4c7fc14ffbc305b 100644 (file)
@@ -96,7 +96,7 @@ class PtestRunnerTest(OERuntimeTestCase):
         failed_tests = {}
 
         for section in sections:
-            if 'exitcode' in sections[section].keys():
+            if 'exitcode' in sections[section].keys() or 'timeout' in sections[section].keys():
                 failed_tests[section] = sections[section]["log"]
 
         for section in results: