summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/search.py
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-09-05 17:44:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-08 18:02:40 +0100
commit364e1baf8b66ccd155a0342004dfb26dc3f93299 (patch)
tree7c90030fcff647db9be4f59fd9de35900060b4fc /scripts/lib/devtool/search.py
parent5465f568978f52bf3ca90a08e2e4034cd6c7f336 (diff)
downloadpoky-364e1baf8b66ccd155a0342004dfb26dc3f93299.tar.gz
ptest-cargo.bbclass: sort binaries for reproducibility
When compiling tests with cargo, the produced binaries are created in a non-deterministic order. The list of binaries themselves are taken from some of the log info produced by cargo, which contains them in the order as they were created. The class later writes this list of binaries in the run-ptest script in the order that it found them. In case the test suite contains more than 1 or 2 binaries, then the order of these binaries is different almost each run, making the resulting ptest package non-reproducible. To avoid this, sort the list of test binaries before storing them. (From OE-Core rev: 0fdc3ce4e3ecc6519aef680884d88f33c805a20d) Signed-off-by: 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