diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-09-17 11:38:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-18 08:53:10 +0100 |
commit | 4d1461595a3494864dd98e41c2501db7c3690ae5 (patch) | |
tree | f1aafd1d324078c4160aa2edc7132ca90f0bd65a /meta/lib/oeqa/runtime | |
parent | 4ef31c91ca6c89f3c69096da9b63ec9717043da3 (diff) | |
download | poky-4d1461595a3494864dd98e41c2501db7c3690ae5.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: 002e27c9932a83e46be0b03a5232594cfba7212c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/ptest.py | 2 |
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 23a71ea064..fbaeb84d00 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py | |||
@@ -96,7 +96,7 @@ class PtestRunnerTest(OERuntimeTestCase): | |||
96 | failed_tests = {} | 96 | failed_tests = {} |
97 | 97 | ||
98 | for section in sections: | 98 | for section in sections: |
99 | if 'exitcode' in sections[section].keys(): | 99 | if 'exitcode' in sections[section].keys() or 'timeout' in sections[section].keys(): |
100 | failed_tests[section] = sections[section]["log"] | 100 | failed_tests[section] = sections[section]["log"] |
101 | 101 | ||
102 | for section in results: | 102 | for section in results: |