bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trim, unicodeio tests: Fix module description


From: Bruno Haible
Subject: trim, unicodeio tests: Fix module description
Date: Sat, 31 Aug 2024 18:25:09 +0200

This patch fixes two small mistakes in the module descriptions: Missing
initializations. Fortunately, enough other tests modules contain the
necessary initializations as well, so that packages did not notice these
mistakes.


2024-08-31  Bruno Haible  <bruno@clisp.org>

        trim, unicodeio tests: Fix module description.
        * modules/trim-tests (configure.ac): Invoke the respective gt_LOCALE_*
        macros.
        * modules/unicodeio-tests (Makefile.am): Augment TESTS_ENVIRONMENT.

diff --git a/modules/trim-tests b/modules/trim-tests
index 12c12cba7b..5b04ceb062 100644
--- a/modules/trim-tests
+++ b/modules/trim-tests
@@ -12,6 +12,8 @@ Depends-on:
 setlocale
 
 configure.ac:
+gt_LOCALE_FR_UTF8
+gt_LOCALE_ZH_CN
 
 Makefile.am:
 TESTS += test-trim1.sh test-trim2.sh test-trim3.sh
diff --git a/modules/unicodeio-tests b/modules/unicodeio-tests
index 740552abaf..0a7d57bd5c 100644
--- a/modules/unicodeio-tests
+++ b/modules/unicodeio-tests
@@ -18,5 +18,8 @@ gt_LOCALE_ZH_CN
 
 Makefile.am:
 TESTS += test-unicodeio1.sh test-unicodeio2.sh test-unicodeio3.sh
+TESTS_ENVIRONMENT += \
+  LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
+  LOCALE_ZH_CN='@LOCALE_ZH_CN@'
 check_PROGRAMS += test-unicodeio
 test_unicodeio_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBUNISTRING) $(LIBICONV) 
$(LIBINTL)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]