From: Bruno Haible Date: Wed, 7 Feb 2024 15:50:27 +0000 (+0100) Subject: nstrftime tests: Avoid test failures on DragonFly BSD. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4d4e66c991ee61b09eb1ac1e3eca1ae995da10a9;p=gnulib.git nstrftime tests: Avoid test failures on DragonFly BSD. * tests/test-nstrftime.h (LT): Disable specific test cases also on DragonFly BSD. --- diff --git a/ChangeLog b/ChangeLog index 33509a6f55..571dccbb92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-02-07 Bruno Haible + + nstrftime tests: Avoid test failures on DragonFly BSD. + * tests/test-nstrftime.c (LT): Disable specific test cases also on + DragonFly BSD. + 2024-02-07 Bruno Haible nstrftime: Modernize. diff --git a/tests/test-nstrftime.c b/tests/test-nstrftime.c index 3179da8ada..87d6a35188 100644 --- a/tests/test-nstrftime.c +++ b/tests/test-nstrftime.c @@ -125,12 +125,12 @@ struct localtime_rz_test static struct localtime_rz_test LT[] = { -#if !(defined __NetBSD__ || defined __ANDROID__) +#if !(defined __DragonFly__ || defined __NetBSD__ || defined __ANDROID__) { TZ+Pacific, 0, "1969-12-31 16:00:00 -0800 (PST)", 0 }, #endif { TZ+Arizona, 0, "1969-12-31 17:00:00 -0700 (MST)", 0 }, { TZ+UTC , 0, "1970-01-01 00:00:00 +0000 (UTC)", 0 }, -#if !(defined __NetBSD__ || defined __ANDROID__) +#if !(defined __DragonFly__ || defined __NetBSD__ || defined __ANDROID__) { TZ+CentEur, 0, "1970-01-01 01:00:00 +0100 (CET)", 0 }, #endif { TZ+Japan , 0, "1970-01-01 09:00:00 +0900 (JST)", 0 },