]> Savannah Git Hosting - gnulib.git/commitdiff
c32width tests: Avoid failure on FreeBSD 12.
authorBruno Haible <bruno@clisp.org>
Sat, 26 Aug 2023 23:53:57 +0000 (01:53 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 30 Aug 2023 10:02:50 +0000 (12:02 +0200)
* tests/test-c32width.c (main): Skip two tests on FreeBSD < 13.

ChangeLog
tests/test-c32width.c

index 3cdadae57f4e1f453d8d2be6f452380e17303a65..2d5f7b958ce97387f10c80a092201a455ae957f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-08-26  Bruno Haible  <bruno@clisp.org>
+
+       c32width tests: Avoid failure on FreeBSD 12.
+       * tests/test-c32width.c (main): Skip two tests on FreeBSD < 13.
+
 2023-08-26  Bruno Haible  <bruno@clisp.org>
 
        crypto/{sha*,md5,sm3}-buffer: Ignore too old OpenSSL versions.
index 24966f963e1c13de0ead20d84a499f20e1ecfe11..8075221bb128fdbba7d71fda1c6f14b90b61e2b0 100644 (file)
@@ -94,8 +94,10 @@ main ()
       ASSERT (c32width (0x3000) == 2);
       ASSERT (c32width (0xB250) == 2);
       ASSERT (c32width (0xFF1A) == 2);
+      #if !(defined __FreeBSD__ && __FreeBSD__ < 13 && !defined __GLIBC__)
       ASSERT (c32width (0x20369) == 2);
       ASSERT (c32width (0x2F876) == 2);
+      #endif
     }
 
   return 0;