[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unictype/category-byname: Fix test failure
From: |
Bruno Haible |
Subject: |
unictype/category-byname: Fix test failure |
Date: |
Wed, 09 Feb 2022 23:40:07 +0100 |
A full gnulib testdir fails for me:
../../gltests/unictype/test-categ_byname.c:40: assertion 'category_equals
(uc_general_category_byname ("L"), UC_CATEGORY_L)' failed
FAIL test-categ_byname (exit status: 134)
The reason is that the test program 'test-categ_byname' gets linked against
an old libunistring under /usr, and the symbol uc_general_category_byname
is taken from there, whereas the UC_CATEGORY_* variables are linked statically
from the local libgnu.a.
This patch fixes it.
2022-02-09 Bruno Haible <bruno@clisp.org>
unictype/category-byname: Fix test failure.
* modules/unictype/category-byname (configure.ac): Bump required
libunistring version.
diff --git a/modules/unictype/category-byname b/modules/unictype/category-byname
index c8bbe0b260..7f79b38de0 100644
--- a/modules/unictype/category-byname
+++ b/modules/unictype/category-byname
@@ -49,7 +49,7 @@ unictype/category-none
gperf
configure.ac:
-gl_LIBUNISTRING_MODULE([0.9.8], [unictype/category-byname])
+gl_LIBUNISTRING_MODULE([0.9.11], [unictype/category-byname])
Makefile.am:
if LIBUNISTRING_COMPILE_UNICTYPE_CATEGORY_BYNAME
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- unictype/category-byname: Fix test failure,
Bruno Haible <=