]> Savannah Git Hosting - gnulib.git/commitdiff
c32width tests: Avoid a test failure on Solaris 11 OpenIndiana, OmniOS.
authorBruno Haible <bruno@clisp.org>
Sun, 9 Jun 2024 23:51:30 +0000 (01:51 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Jun 2024 23:51:30 +0000 (01:51 +0200)
* tests/test-c32width.c (main): On Solaris, disable two tests that fail
on Solaris 11 OpenIndiana and Solaris 11 OmniOS.

ChangeLog
tests/test-c32width.c

index b122018c2ce1629f256d6824dc72007819a942c1..8e67f0a816194850dd0fbb1f0ccd3bde816c0371 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-09  Bruno Haible  <bruno@clisp.org>
+
+       c32width tests: Avoid a test failure on Solaris 11 OpenIndiana, OmniOS.
+       * tests/test-c32width.c (main): On Solaris, disable two tests that fail
+       on Solaris 11 OpenIndiana and Solaris 11 OmniOS.
+
 2024-06-09  Bruno Haible  <bruno@clisp.org>
 
        c32ispunct tests: Avoid a test failure on Solaris 11 OmniOS.
index 49081a903bf7c63ee81b628b5bd965ec765d27e3..0fcc5a2cd88bcebfc64f7fe957ea52ff9e968eb4 100644 (file)
@@ -94,7 +94,7 @@ main ()
       ASSERT (c32width (0x3000) == 2);
       ASSERT (c32width (0xB250) == 2);
       ASSERT (c32width (0xFF1A) == 2);
-      #if !(defined __FreeBSD__ && __FreeBSD__ < 13 && !defined __GLIBC__)
+      #if !((defined __FreeBSD__ && __FreeBSD__ < 13 && !defined __GLIBC__) || defined __sun)
       ASSERT (c32width (0x20369) == 2);
       ASSERT (c32width (0x2F876) == 2);
       #endif