From: Bruno Haible Date: Sun, 9 Jun 2024 23:51:30 +0000 (+0200) Subject: c32width tests: Avoid a test failure on Solaris 11 OpenIndiana, OmniOS. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4d5e82a9b730a62f1caef099482dd66c2bd3459c;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index b122018c2c..8e67f0a816 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-06-09 Bruno Haible + + 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 c32ispunct tests: Avoid a test failure on Solaris 11 OmniOS. diff --git a/tests/test-c32width.c b/tests/test-c32width.c index 49081a903b..0fcc5a2cd8 100644 --- a/tests/test-c32width.c +++ b/tests/test-c32width.c @@ -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