]> Savannah Git Hosting - gnulib.git/commitdiff
c32isprint tests: Avoid test failure on mingw/ucrt.
authorBruno Haible <bruno@clisp.org>
Sun, 22 Dec 2024 13:34:29 +0000 (14:34 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 22 Dec 2024 13:34:29 +0000 (14:34 +0100)
* tests/test-c32isprint.c (main): Disable test that fails on mingw/ucrt.

ChangeLog
tests/test-c32isprint.c

index ec6700e2c9b1e4950956442417a3fcca256e8d30..fa56b8cda3fcc082541305a6093ea65d495b9df9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-12-22  Bruno Haible  <bruno@clisp.org>
+
+       c32isprint tests: Avoid test failure on mingw/ucrt.
+       * tests/test-c32isprint.c (main): Disable test that fails on mingw/ucrt.
+
 2024-12-22  Bruno Haible  <bruno@clisp.org>
 
        btowc: Fix declaration on mingw/ucrt.
index 61018afcc13a6f2dd09b266d61ffb182f2d1a27f..2d5da0a7713ea851e41aea98ebe59d2a64b51ff2 100644 (file)
@@ -172,7 +172,7 @@ main (int argc, char *argv[])
           is = for_character ("\342\200\256", 3);
           ASSERT (is == 0);
         #endif
-        #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun)
+        #if !(defined __FreeBSD__ || defined __DragonFly__ || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
           /* U+3000 IDEOGRAPHIC SPACE */
           is = for_character ("\343\200\200", 3);
           ASSERT (is != 0);