]> Savannah Git Hosting - gnulib.git/commitdiff
pthread_sigmask tests: Avoid failure due to known NetBSD 10.0 bug.
authorBruno Haible <bruno@clisp.org>
Fri, 7 Jun 2024 20:42:06 +0000 (22:42 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 7 Jun 2024 20:42:06 +0000 (22:42 +0200)
* modules/pthread_sigmask-tests (Depends-on): Add test-xfail.
(Makefile.am): Don't test test-pthread_sigmask1 on NetBSD.

ChangeLog
modules/pthread_sigmask-tests

index 4966f48f4ce00ed0ec11a963b9f2145c03e14678..b9cda80d820020bce1b9b48af45746acaabf585e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-07  Bruno Haible  <bruno@clisp.org>
+
+       pthread_sigmask tests: Avoid failure due to known NetBSD 10.0 bug.
+       * modules/pthread_sigmask-tests (Depends-on): Add test-xfail.
+       (Makefile.am): Don't test test-pthread_sigmask1 on NetBSD.
+
 2024-06-07  Bruno Haible  <bruno@clisp.org>
 
        sigprocmask tests: Avoid failure due to known NetBSD 10.0 bug.
index d40a0136876f2c01fa33636ac6fa7b5e6b84e37f..00185a0d3e2bee20d8e00f69ada71480813f630d 100644 (file)
@@ -8,11 +8,16 @@ Depends-on:
 inttypes
 sleep
 pthread-thread
+test-xfail
 
 configure.ac:
 
 Makefile.am:
-TESTS += test-pthread_sigmask1 test-pthread_sigmask2
+# Work around https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57214
+if !OS_IS_NETBSD
+TESTS += test-pthread_sigmask1
+endif
+TESTS += test-pthread_sigmask2
 check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2
 test_pthread_sigmask1_LDADD = $(LDADD) @PTHREAD_SIGMASK_LIB@
 test_pthread_sigmask2_LDADD = $(LDADD) @PTHREAD_SIGMASK_LIB@ @LIBMULTITHREAD@