On Solaris 11 OpenIndiana and Solaris 11 OmniOS, I now (after the c32rtomb sanity check addition) see a test failure:
FAIL: test-c32width =================== ../../tests/test-c32width.c:98: assertion 'c32width (0x20369) == 2' failed ../../build-aux/test-driver: line 114: 15481: Abort(coredump) FAIL test-c32width (exit status: 262) This patch fixes it. 2024-06-09 Bruno Haible <br...@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. 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