From: Bruno Haible Date: Fri, 1 Jan 2021 20:03:31 +0000 (+0100) Subject: posixtm tests: Disable part of the test on plaforms where it fails. X-Git-Tag: v1.0~3244 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7b0612c91cb36dfaf7c807156c00fba1f8f34fcb;p=gnulib.git posixtm tests: Disable part of the test on plaforms where it fails. * tests/test-posixtm.c (T): Disable two tests on macOS as well. --- diff --git a/ChangeLog b/ChangeLog index 1f05651c4f..1989ffcc0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-01-01 Bruno Haible + + posixtm tests: Disable part of the test on plaforms where it fails. + * tests/test-posixtm.c (T): Disable two tests on macOS as well. + 2021-01-01 Bruno Haible c32isgraph/c32isprint/c32ispunct tests: Avoid test failures on OmniOS. diff --git a/tests/test-posixtm.c b/tests/test-posixtm.c index 0d5560814d..ea20564bd9 100644 --- a/tests/test-posixtm.c +++ b/tests/test-posixtm.c @@ -46,10 +46,10 @@ static struct posixtm_test const T[] = { "12131415.16", LY, 1, 0}, /* ??? Dec 13 14:15:16 ???? */ { "12131415", LY, 1, 0}, /* ??? Dec 13 14:15:00 ???? */ -#if !defined __sun - /* These two tests fail on 64-bit Solaris up through at least - Solaris 11.3, which is off by one day for timestamps before - 0001-01-01 00:00:00 UTC. */ +#if !((defined __APPLE__ && defined __MACH__) || defined __sun) + /* These two tests fail on 64-bit Mac OS X 10.5 and on 64-bit Solaris up + through at least Solaris 11.3, which is off by one day for timestamps + before 0001-01-01 00:00:00 UTC. */ { "000001010000.00", LY, 1, - INT64_C (62167219200)},/* Sat Jan 1 00:00:00 0 */ { "000012312359.59", LY, 1,