From 4d5e82a9b730a62f1caef099482dd66c2bd3459c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 10 Jun 2024 01:51:30 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ tests/test-c32width.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.5