]> 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>
Thu, 13 Jun 2024 15:12:17 +0000 (17:12 +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 dca95ffb3ab6f9327abe283126c8defc1b395a6a..bf6a2ddcb0d4cae4d0f9fe9e25a5334665950a9e 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 8075221bb128fdbba7d71fda1c6f14b90b61e2b0..9db65541897a34af968c30f4d1f1fa51015068ac 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of c32width() function.
-   Copyright (C) 2007-2023 Free Software Foundation, Inc.
+   Copyright (C) 2007-2024 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -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