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

skip it.

ref: https://lists.gnu.org/archive/html/bug-gnulib/2025-05/msg00174.html
2025-05-14 17:16:26 +02:00

13 lines
522 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/gettext-tools/gnulib-tests/test-pthread-rwlock.c
+++ b/gettext-tools/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. */