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: f2989e8f87b8793b03fe13254f8214e495008527)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 002e27c9932a83e46be0b03a5232594cfba7212c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Alexander Kanavin
2023-09-17 11:38:37 +02:00
committed by Steve Sakoman
parent ec061cddc7
commit 0d47374974

View File

@@ -93,7 +93,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: