summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/ptest-cargo.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/ptest-cargo.bbclass b/meta/classes-recipe/ptest-cargo.bbclass
index 8351644b0f..30463e117b 100644
--- a/meta/classes-recipe/ptest-cargo.bbclass
+++ b/meta/classes-recipe/ptest-cargo.bbclass
@@ -70,7 +70,7 @@ python do_compile_ptest_cargo() {
70 cargo_test_binaries_file = d.getVar('CARGO_TEST_BINARIES_FILES') 70 cargo_test_binaries_file = d.getVar('CARGO_TEST_BINARIES_FILES')
71 bb.note(f"Found {len(test_bins)} tests, write their paths into {cargo_test_binaries_file}") 71 bb.note(f"Found {len(test_bins)} tests, write their paths into {cargo_test_binaries_file}")
72 with open(cargo_test_binaries_file, "w") as f: 72 with open(cargo_test_binaries_file, "w") as f:
73 for test_bin in test_bins: 73 for test_bin in sorted(test_bins):
74 f.write(f"{test_bin}\n") 74 f.write(f"{test_bin}\n")
75 75
76} 76}