]> Savannah Git Hosting - gnulib.git/commitdiff
nstrftime tests: Avoid test failures on DragonFly BSD.
authorBruno Haible <bruno@clisp.org>
Wed, 7 Feb 2024 15:50:27 +0000 (16:50 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 12 Feb 2024 23:16:25 +0000 (00:16 +0100)
* tests/test-nstrftime.h (LT): Disable specific test cases also on
DragonFly BSD.

ChangeLog
tests/test-nstrftime.c

index 33509a6f55eaea6bd8dcd165f1cb9885ec5cf447..571dccbb92c7ac78263feed3c5d7a4ab434e443d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-02-07  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        nstrftime: Modernize.
index 3179da8ada3c6a8f5e4fc8c444195d693f8c7028..87d6a351885772e3662c837e720e95e03712377d 100644 (file)
@@ -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 },