summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-09-17 11:38:37 +0200
committerSteve Sakoman <steve@sakoman.com>2023-10-18 05:25:19 -1000
commit0d47374974177307f2bc35a3cf57e7ca26b434a4 (patch)
tree3f869b0865a5b35a1082491f13668688e3e72a8a
parentec061cddc719ee0ab6ea3415332f591f3efd676d (diff)
downloadpoky-0d47374974177307f2bc35a3cf57e7ca26b434a4.tar.gz
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>
-rw-r--r--meta/lib/oeqa/runtime/cases/ptest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py
index 3ef9022188..454a19430f 100644
--- a/meta/lib/oeqa/runtime/cases/ptest.py
+++ b/meta/lib/oeqa/runtime/cases/ptest.py
@@ -93,7 +93,7 @@ class PtestRunnerTest(OERuntimeTestCase):
93 failed_tests = {} 93 failed_tests = {}
94 94
95 for section in sections: 95 for section in sections:
96 if 'exitcode' in sections[section].keys(): 96 if 'exitcode' in sections[section].keys() or 'timeout' in sections[section].keys():
97 failed_tests[section] = sections[section]["log"] 97 failed_tests[section] = sections[section]["log"]
98 98
99 for section in results: 99 for section in results: