[PATCH] Makefile: add allow-list for failures
Andreas K. Huettel
dilfridge@gentoo.org
Tue Dec 16 00:56:00 GMT 2025
Am Freitag, 12. Dezember 2025, 11:22:48 Mitteleuropäische Normalzeit schrieb Martin Coufal:
> Enable adding known failures to allowed-failures.txt and ignore failures
> in case they are in the list. In case the allowed-failures.txt does not
> exist, all failures lead to a failed status as before.
>
> When the file is present, failures of listed tests are ignored and reported
> on stdout. If tests not in the allowed list fail, summarize-tests exits with
> status 1 and reports the failing tests.
We already have the option to pass test-xfail-${testname}=yes to make, see
e.g.
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/glibc/glibc-9999.ebuild#n1294
Nevertheless this could be nice since it's easier to drop a text file into
the source dir. It makes no sense to keep such an allowed-failures.txt file
in the git repo though as the failures strongly depend on the precise
settings and environment.
--
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 981 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20251216/1430572e/attachment.sig>
More information about the Libc-alpha
mailing list