mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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:
committed by
Steve Sakoman
parent
ec061cddc7
commit
0d47374974
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user