open_posix_testsuite/generate-makefiles.sh: Fix determinism issue
PATCH 1/1 open_posix_testsuite/generate-makefiles.sh: Fix determinism issue
Currently the list of tests is generated by the order of the files found within the directories. This results in differences in the run.sh and? Makefiles. Within Yocto Project this results in differing target test packages. The fix is simple, just sort the output from locate-test.
Signed-off-by Richard Purdie <[email protected]>
testcases/open_posix_testsuite/scripts/generate-makefiles.sh +1 -1
@@ -24,7 +24,7 @@ generate_locate_test_makefile() { echo "Generating $maketype Makefiles" - locate-test --$maketype | sed -e 's,^./,,g' > make-gen.$maketype + locate-test --$maketype | sed -e 's,^./,,g' | sort > make-gen.$maketype generate_makefiles make-gen.$maketype $*
PATCH 1/1 open_posix_testsuite/generate-makefiles.sh: Fix determinism issue
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]