]> Savannah Git Hosting - gnulib.git/commitdiff
c32isgraph tests: Avoid test failure on Cygwin 3.4.6.
authorBruno Haible <bruno@clisp.org>
Tue, 18 Apr 2023 07:51:21 +0000 (09:51 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 21 Apr 2023 15:24:39 +0000 (17:24 +0200)
* tests/test-c32isgraph.c (main): Skip U+00A0 test on Cygwin.

ChangeLog
tests/test-c32isgraph.c

index 6059cbe2a66cb2ed79949e98dc5e7ad8f9c0a1e0..ef15e7ebd8e5e6704c0541a9efcff9935d3e91f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-04-18  Bruno Haible  <bruno@clisp.org>
+
+       c32isgraph tests: Avoid test failure on Cygwin 3.4.6.
+       * tests/test-c32isgraph.c (main): Skip U+00A0 test on Cygwin.
+
 2023-04-16  Bruno Haible  <bruno@clisp.org>
 
        posix_spawn_file_actions_addclose tests: Avoid test failure on Cygwin.
index 652251782859ceaa3dc9f312cef91a9267aa3561..31e0838d19b3f597fe06be11be559335d0682150 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of c32isgraph() function.
-   Copyright (C) 2020-2022 Free Software Foundation, Inc.
+   Copyright (C) 2020-2023 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -119,7 +119,7 @@ main (int argc, char *argv[])
           /* U+007F <control> */
           is = for_character ("\177", 1);
           ASSERT (is == 0);
-        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
+        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sgi || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
           /* U+00A0 NO-BREAK SPACE */
           is = for_character ("\240", 1);
           ASSERT (is != 0);
@@ -155,7 +155,7 @@ main (int argc, char *argv[])
           /* U+007F <control> */
           is = for_character ("\177", 1);
           ASSERT (is == 0);
-        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || (defined _WIN32 && !defined __CYGWIN__))
+        #if !((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __DragonFly__ || defined __NetBSD__ || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
           /* U+00A0 NO-BREAK SPACE */
           is = for_character ("\302\240", 2);
           ASSERT (is != 0);