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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 \