]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
binutils-testsuite: unset SOURCE_DATE_EPOCH when running the tests
authorRoss Burton <ross.burton@arm.com>
Thu, 4 Dec 2025 16:18:17 +0000 (16:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Dec 2025 18:02:45 +0000 (18:02 +0000)
commit7ea5d2c5aadb1852aff23616e973b382df44c8d0
tree9749cdd308ec527605319b694ea9c721db0fadb5
parent4926e1a49d567b1f86a7b8e69dfcdad896fc7d0a
binutils-testsuite: unset SOURCE_DATE_EPOCH when running the tests

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>
meta/recipes-devtools/binutils/binutils-testsuite_2.45.bb