From: Bruno Haible Date: Wed, 7 Feb 2024 15:50:27 +0000 (+0100) Subject: nstrftime tests: Avoid test failures on DragonFly BSD. X-Git-Tag: v1.0~457 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=7c1bd92c57122173e3c5a99913f21dc6767c7700;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 14b2585a31..24d9920e35 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.h (LT): Disable specific test cases also on + DragonFly BSD. + 2024-02-07 Bruno Haible nstrftime: Modernize. diff --git a/tests/test-nstrftime.h b/tests/test-nstrftime.h index 294a1aaf2c..97190a6654 100644 --- a/tests/test-nstrftime.h +++ b/tests/test-nstrftime.h @@ -116,12 +116,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 },