aports/main/diffutils/skip-meaningless-pthread-rwlock-test.patch
Natanael Copa 75d3777e6a main/diffutils: skip meaningless test-pthread-rwlock
test-pthread-rwlock (expectedly) fails on riscv64 but does not test
anything that diffutils does/needs.

skip it.

ref: https://lists.gnu.org/archive/html/bug-gnulib/2025-05/msg00174.html
2025-10-14 22:54:50 +02:00

14 lines
494 B
Diff

diff --git a/gettext-tools/gnulib-tests/test-pthread-rwlock.c b/gettext-tools/gnulib-tests/test-pthread-rwlock.c
index 90d6ac5..61009a7 100644
--- a/gnulib-tests/test-pthread-rwlock.c
+++ b/gnulib-tests/test-pthread-rwlock.c
@@ -198,6 +198,8 @@ test_rwlock (void)
int
main ()
{
+ fputs ("Skipping meaningless test which is expected to deadlock\n", stderr);
+ return 77;
#if HAVE_DECL_ALARM
/* Declare failure if test takes too long, by using default abort
caused by SIGALRM. */