commit: b2a1251a298f43ae95cfad5d72d1f5c365b6220c Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jul 25 00:48:13 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jul 25 00:49:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2a1251a
sys-libs/glibc: run src_test for all ABIs, fail at the end instead It's convenient to run tests for all ABIs rather than just e.g. 32-bit x86 first given it's interesting to know if a failure is specific to one ABI or not. We already have the infra for this w/ foreach_abi, we just weren't making use of it here. We now run tests for each ABI, record if they failed, and then die after running them all if any failed. Bug: https://bugs.gentoo.org/451922 Bug: https://bugs.gentoo.org/522962 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/glibc/glibc-9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 2f7f58fcccd4..bbb2337cb544 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -1301,7 +1301,7 @@ glibc_src_test() { # we give the tests a bit more time to avoid spurious # bug reports on slow arches - SANDBOX_ON=0 LD_PRELOAD= TIMEOUTFACTOR=16 emake ${myxfailparams} check + SANDBOX_ON=0 LD_PRELOAD= TIMEOUTFACTOR=16 nonfatal emake ${myxfailparams} check } src_test() { @@ -1309,6 +1309,8 @@ src_test() { return fi + # glibc_src_test uses nonfatal so that we can run tests for all ABIs + # and fail at the end instead. foreach_abi glibc_src_test || die "tests failed" }
