From 7b88e36f17a0957ef3678408e37ca633f8112e72 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 7 Jun 2024 22:42:06 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ modules/pthread_sigmask-tests | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4966f48f4c..b9cda80d82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-06-07 Bruno Haible + + 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 sigprocmask tests: Avoid failure due to known NetBSD 10.0 bug. diff --git a/modules/pthread_sigmask-tests b/modules/pthread_sigmask-tests index d40a013687..00185a0d3e 100644 --- a/modules/pthread_sigmask-tests +++ b/modules/pthread_sigmask-tests @@ -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@ -- 2.39.5