summaryrefslogtreecommitdiff
path: root/tests/test-c32isgraph.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-01-01 18:39:28 +0100
committerBruno Haible <bruno@clisp.org>2021-01-01 18:47:04 +0100
commitbb8b625c643cf7730799eb06a72e21ad5c6ca65c (patch)
treed455f3ae2be7c7df1a9bf8e7e56e7f6ba15d6550 /tests/test-c32isgraph.c
parentccaeb4aca09491cfc44176aee98366a1d3a67d0a (diff)
downloadgnulib-bb8b625c643cf7730799eb06a72e21ad5c6ca65c.tar.gz
c32isgraph/c32isprint/c32ispunct tests: Avoid test failures on OmniOS.
* tests/test-c32isgraph.c (main): On Solaris, disable tests that fail on Solaris 11 OmniOS. * tests/test-c32isprint.c (main): Likewise. * tests/test-c32ispunct.c (main): Likewise.
Diffstat (limited to 'tests/test-c32isgraph.c')
-rw-r--r--tests/test-c32isgraph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-c32isgraph.c b/tests/test-c32isgraph.c
index b5ecdd353d..c1f9d2045d 100644
--- a/tests/test-c32isgraph.c
+++ b/tests/test-c32isgraph.c
@@ -166,7 +166,7 @@ main (int argc, char *argv[])
/* U+2002 EN SPACE */
is = for_character ("\342\200\202", 3);
ASSERT (is == 0);
- #if !(defined __GLIBC__ || defined _AIX || defined __CYGWIN__)
+ #if !(defined __GLIBC__ || defined _AIX || defined __sun || defined __CYGWIN__)
/* U+202E RIGHT-TO-LEFT OVERRIDE */
is = for_character ("\342\200\256", 3);
ASSERT (is == 0);
@@ -174,7 +174,7 @@ main (int argc, char *argv[])
/* U+3000 IDEOGRAPHIC SPACE */
is = for_character ("\343\200\200", 3);
ASSERT (is == 0);
- #if !(defined __GLIBC__ || defined _AIX || defined __CYGWIN__)
+ #if !(defined __GLIBC__ || defined _AIX || defined __sun || defined __CYGWIN__)
/* U+FEFF ZERO WIDTH NO-BREAK SPACE */
is = for_character ("\357\273\277", 3);
ASSERT (is == 0);
@@ -184,7 +184,7 @@ main (int argc, char *argv[])
is = for_character ("\360\240\200\200", 4);
ASSERT (is != 0);
#endif
- #if !(defined __GLIBC__ || defined _AIX || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
+ #if !(defined __GLIBC__ || defined _AIX || defined __sun || defined __CYGWIN__ || (defined _WIN32 && !defined __CYGWIN__))
/* U+E0001 LANGUAGE TAG */
is = for_character ("\363\240\200\201", 4);
ASSERT (is == 0);