From c7eb28f79cbcfc5da0268041745094d2ae4c3db7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 17 May 2024 23:08:00 +0200 Subject: [PATCH] tests: Mark tests that fail on NetBSD as expected failures. * modules/dup3-tests (Depends-on): Add test-xfail. (Makefile.am): Expect that test-dup3 fails on NetBSD. * modules/fdutimensat-tests (Depends-on): Add test-xfail. (Makefile.am): Expect that test-fdutimensat fails on NetBSD. * modules/futimens-tests (Depends-on): Add test-xfail. (Makefile.am): Expect that test-futimens fails on NetBSD. * modules/utimens-tests (Depends-on): Add test-xfail. (Makefile.am): Expect that test-utimens fails on NetBSD. * modules/utimensat-tests (Depends-on): Add test-xfail. (Makefile.am): Expect that test-utimensat fails on NetBSD. --- ChangeLog | 14 ++++++++++++++ modules/dup3-tests | 5 +++++ modules/fdutimensat-tests | 5 +++++ modules/futimens-tests | 5 +++++ modules/utimens-tests | 5 +++++ modules/utimensat-tests | 5 +++++ 6 files changed, 39 insertions(+) diff --git a/ChangeLog b/ChangeLog index df2944317a..add0f34488 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2024-05-17 Bruno Haible + + tests: Mark tests that fail on NetBSD as expected failures. + * modules/dup3-tests (Depends-on): Add test-xfail. + (Makefile.am): Expect that test-dup3 fails on NetBSD. + * modules/fdutimensat-tests (Depends-on): Add test-xfail. + (Makefile.am): Expect that test-fdutimensat fails on NetBSD. + * modules/futimens-tests (Depends-on): Add test-xfail. + (Makefile.am): Expect that test-futimens fails on NetBSD. + * modules/utimens-tests (Depends-on): Add test-xfail. + (Makefile.am): Expect that test-utimens fails on NetBSD. + * modules/utimensat-tests (Depends-on): Add test-xfail. + (Makefile.am): Expect that test-utimensat fails on NetBSD. + 2024-05-17 Bruno Haible New module 'test-xfail'. diff --git a/modules/dup3-tests b/modules/dup3-tests index 7d52771730..eff2e21307 100644 --- a/modules/dup3-tests +++ b/modules/dup3-tests @@ -8,9 +8,14 @@ getdtablesize msvc-nothrow open close +test-xfail configure.ac: Makefile.am: TESTS += test-dup3 check_PROGRAMS += test-dup3 + +if OS_IS_NETBSD +XFAIL_TESTS += test-dup3 +endif diff --git a/modules/fdutimensat-tests b/modules/fdutimensat-tests index c2f0d59f3d..29113f0cdb 100644 --- a/modules/fdutimensat-tests +++ b/modules/fdutimensat-tests @@ -16,6 +16,7 @@ stdckdint timespec dup utimecmp +test-xfail configure.ac: @@ -24,3 +25,7 @@ TESTS += test-fdutimensat check_PROGRAMS += test-fdutimensat test_fdutimensat_LDADD = $(LDADD) $(CLOCK_TIME_LIB) \ $(NANOSLEEP_LIB) @LIBINTL@ + +if OS_IS_NETBSD +XFAIL_TESTS += test-fdutimensat +endif diff --git a/modules/futimens-tests b/modules/futimens-tests index c6f62d9d3c..7364321cb5 100644 --- a/modules/futimens-tests +++ b/modules/futimens-tests @@ -15,6 +15,7 @@ stdckdint timespec dup utimecmp +test-xfail configure.ac: @@ -22,3 +23,7 @@ Makefile.am: TESTS += test-futimens check_PROGRAMS += test-futimens test_futimens_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(NANOSLEEP_LIB) @LIBINTL@ + +if OS_IS_NETBSD +XFAIL_TESTS += test-futimens +endif diff --git a/modules/utimens-tests b/modules/utimens-tests index 381139c8dd..3ef54ce36d 100644 --- a/modules/utimens-tests +++ b/modules/utimens-tests @@ -16,6 +16,7 @@ stdckdint symlink timespec utimecmp +test-xfail configure.ac: @@ -23,3 +24,7 @@ Makefile.am: TESTS += test-utimens check_PROGRAMS += test-utimens test_utimens_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(NANOSLEEP_LIB) @LIBINTL@ + +if OS_IS_NETBSD +XFAIL_TESTS += test-utimens +endif diff --git a/modules/utimensat-tests b/modules/utimensat-tests index 0ba5e09e02..720f46e1c7 100644 --- a/modules/utimensat-tests +++ b/modules/utimensat-tests @@ -13,6 +13,7 @@ nanosleep stdckdint timespec utimecmp +test-xfail configure.ac: @@ -20,3 +21,7 @@ Makefile.am: TESTS += test-utimensat check_PROGRAMS += test-utimensat test_utimensat_LDADD = $(LDADD) $(CLOCK_TIME_LIB) $(NANOSLEEP_LIB) @LIBINTL@ + +if OS_IS_NETBSD +XFAIL_TESTS += test-utimensat +endif -- 2.39.5