Message ID | 6c83b5fc8c891046131dbe049e37357e055f706e.camel@linuxfoundation.org |
---|---|
State | Accepted |
Headers | show |
Series | open_posix_testsuite/generate-makefiles.sh: Fix determinism issue | expand |
Hi! Pushed, thanks.
Index: git/testcases/open_posix_testsuite/scripts/generate-makefiles.sh =================================================================== --- git.orig/testcases/open_posix_testsuite/scripts/generate-makefiles.sh +++ git/testcases/open_posix_testsuite/scripts/generate-makefiles.sh @@ -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 $*
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 <richard.purdie@linuxfoundation.org>