From: Alexander Kanavin Date: Sun, 17 Sep 2023 09:38:37 +0000 (+0200) Subject: ptest: report tests that were killed on timeout X-Git-Tag: 2023-04.4~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2989e8f87b8793b03fe13254f8214e495008527;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 002e27c9932a83e46be0b03a5232594cfba7212c) Signed-off-by: Steve Sakoman --- diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py index 3ef90221887..454a19430fa 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py @@ -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: