]> Savannah Git Hosting - gnulib.git/commitdiff
c32ispunct tests: Avoid test failures on FreeBSD.
authorBruno Haible <bruno@clisp.org>
Mon, 4 Jan 2021 01:12:46 +0000 (02:12 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 4 Jan 2021 01:12:46 +0000 (02:12 +0100)
* tests/test-c32ispunct.c (main): On FreeBSD, disable tests that fail on
FreeBSD 12.1.1.

ChangeLog
tests/test-c32ispunct.c

index ff927578e899e6f438e0038ec6a57f4fe2c41b56..6d1a13aed21f468723ad3597b3c12f21f9e2b2c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-01-03  Bruno Haible  <bruno@clisp.org>
+
+       c32ispunct tests: Avoid test failures on FreeBSD.
+       * tests/test-c32ispunct.c (main): On FreeBSD, disable tests that fail on
+       FreeBSD 12.1.1.
+
 2021-01-04  Simon Josefsson  <simon@josefsson.org>
 
        doc: Repeat warning that --with-tests cannot be used twice.
index 0ba4f51bf152c9969a7d0ce96046982c0e31fda8..34bd8ef892332debe3821b0aa9f6cb1943d69399 100644 (file)
@@ -207,7 +207,7 @@ main (int argc, char *argv[])
           /* U+00BF INVERTED QUESTION MARK */
           is = for_character ("\302\277", 2);
           ASSERT (is != 0);
-        #if !defined __sun
+        #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
           /* U+00D7 MULTIPLICATION SIGN */
           is = for_character ("\303\227", 2);
           ASSERT (is != 0);
@@ -224,7 +224,7 @@ main (int argc, char *argv[])
           /* U+05F3 HEBREW PUNCTUATION GERESH */
           is = for_character ("\327\263", 2);
           ASSERT (is != 0);
-        #if !(defined __sun || (defined _WIN32 && !defined __CYGWIN__))
+        #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
           /* U+2192 RIGHTWARDS ARROW */
           is = for_character ("\342\206\222", 3);
           ASSERT (is != 0);
@@ -241,7 +241,7 @@ main (int argc, char *argv[])
           /* U+10330 GOTHIC LETTER AHSA */
           is = for_character ("\360\220\214\260", 4);
           ASSERT (is == 0);
-        #if !defined __sun
+        #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
           /* U+1D100 MUSICAL SYMBOL SINGLE BARLINE */
           is = for_character ("\360\235\204\200", 4);
           ASSERT (is != 0);