]> 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>
Wed, 7 Feb 2024 15:50:27 +0000 (16:50 +0100)
* tests/test-nstrftime.h (LT): Disable specific test cases also on
DragonFly BSD.

ChangeLog
tests/test-nstrftime.h

index 14b2585a313229c7422dec9f72869b618fb7af48..24d9920e35a038f0619b07eff398585be18039fa 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.h (LT): Disable specific test cases also on
+       DragonFly BSD.
+
 2024-02-07  Bruno Haible  <bruno@clisp.org>
 
        nstrftime: Modernize.
index 294a1aaf2c67ce6a2f2bd085a2d725e417ea72f7..97190a66541a89262fcccdfa33726558e02eb41c 100644 (file)
@@ -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 },