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: yocto-5.2~5175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=002e27c9932a83e46be0b03a5232594cfba7212c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 --- diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py index 23a71ea064c..fbaeb84d006 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py @@ -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: