ptest: report tests that were killed on timeout

I'm not sure if this was reported correctly before, but it
currently is not. Test that is stuck is an error in itself.

(From OE-Core rev: 002e27c9932a83e46be0b03a5232594cfba7212c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin authored and Richard Purdie committed 2023-09-18 08:53:10 +01:00
1 parent 4ef31c91ca
commit 4d1461595a
1 file changed
+1 -1
+1 -1
View 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: