summaryrefslogtreecommitdiffstats
path: root/scripts/cve-json-to-text.py
diff options
context:
space:
mode:
authorInes KCHELFI <ines.kchelfi@smile.fr>2025-04-24 14:32:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-29 09:55:32 +0100
commit9019308b31b70045a30c9fed2fb5bacd7609f9a0 (patch)
tree7871cfb041df664cdbfbe09083e0440087d07c8c /scripts/cve-json-to-text.py
parent40346626ec9bb5d0b12bab602da52181f2e3551f (diff)
downloadpoky-9019308b31b70045a30c9fed2fb5bacd7609f9a0.tar.gz
ptest-cargo: fix incorrect FAIL count when multiple tests are run
When using the ptest-cargo class with multiple Rust test binaries, ptest-runner may report FAIL: 0 even if one of the tests fails, as long as the last test passes. This happens because the run-ptest script, as generated by the class, does not track failures and simply returns the exit code of the last test. To fix this, each test binary is checked individually for failure. If any test fails, a non-zero exit code is returned. This ensures that test failures are not silently ignored and are properly reported by ptest-runner in multi-test scenarios. (From OE-Core rev: 039708d2aa578da755d5b6eadd6f549121a93186) Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/cve-json-to-text.py')
0 files changed, 0 insertions, 0 deletions