| Message ID | 20251204161820.1339988-2-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/5] binutils-testsuite: run tests in the testsuite directory | expand |
diff --git a/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb b/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb index fe6b8c6f404..4e393c4e4d6 100644 --- a/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb +++ b/meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb @@ -75,6 +75,10 @@ do_check[prefuncs] += "check_prepare" do_check[nostamp] = "1" do_check() { export LC_ALL=C + + # Needs to be unset for binutils/testsuite/bintils-all/ar.exp:replacing_non_deterministic_member() to pass. + unset SOURCE_DATE_EPOCH + for i in ${CHECK_TARGETS}; do (cd ${B}/$i/testsuite; runtest \ --tool $i \
The replacing_non_deterministic_member() test in ar.exp explicitly needs SOURCE_DATE_EPOCH to be unset: # This test expects SOURCE_DATE_EPOCH to not be set in the environment I hope that the test harness could just unset this in advance of running the tests, but until this is upstreamed we can unset it. This fixes the test: ptestresult.binutils.replacing non-deterministic member (wrong size, expected: 920) Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb | 4 ++++ 1 file changed, 4 insertions(+)