mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
ptest: report ptests that couldn't be run at all
Currently if a ptest does not produce PASS or FAIL, but simply errors out, this is not caught or reported; I think some ptests may have silently regressed due to this. (From OE-Core rev: 4b78b6571a3653d7d8e9dab9512bad5d39483988) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b0ec81732a
commit
544cad3791
@@ -67,6 +67,11 @@ class PtestRunnerTest(OERuntimeTestCase):
|
||||
extras[testname] = {'status': result}
|
||||
|
||||
failed_tests = {}
|
||||
|
||||
for section in sections:
|
||||
if 'exitcode' in sections[section].keys():
|
||||
failed_tests[section] = sections[section]["log"]
|
||||
|
||||
for section in results:
|
||||
failed_testcases = [ "_".join(test.translate(trans).split()) for test in results[section] if results[section][test] == 'FAILED' ]
|
||||
if failed_testcases:
|
||||
|
||||
Reference in New Issue
Block a user