diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2025-08-28 20:13:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-01 23:07:06 +0100 |
commit | 4b099343bb888520190123f9a2a9231385ee711d (patch) | |
tree | f13e6644b2341b9c963dad8825d48cb82bfeaef9 /scripts/lib/devtool/search.py | |
parent | 60eb2be65cb4c0959e68434dfd59644a33496150 (diff) | |
download | poky-4b099343bb888520190123f9a2a9231385ee711d.tar.gz |
ptest-cargo: move run-ptest rc variable initialisation
ptest-cargo run-ptest can be generated in two fashions: generated from
scratch or appended to an exiting run-ptest file. The rc variable used
to track tests failure was only initialized in "generated from scratch"
case. Which lead to errors in the "appended" case.
Move the rc variable initialisation to the common code of both case to
fix this problem.
Only initialize rc if it was not already affected in the recipe provided
run-ptest.
(From OE-Core rev: 177c47b7decd8e2d1e24738d10b0f7db2777a772)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Cc: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/search.py')
0 files changed, 0 insertions, 0 deletions