summaryrefslogtreecommitdiff
path: root/modules/c32tolower-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-10 01:46:37 +0200
committerBruno Haible <bruno@clisp.org>2023-04-10 01:48:04 +0200
commitcba07f77a7579c8d4f2d80783cb3b5acdab24bc5 (patch)
tree4769257931efba17e557d8a385f1c6d49c288128 /modules/c32tolower-tests
parent444ebd4da72a6d959563c9ac29927c2ccc11e003 (diff)
downloadgnulib-cba07f77a7579c8d4f2d80783cb3b5acdab24bc5.tar.gz
c32tolower: Add tests.
* tests/test-c32tolower.sh: New file. * tests/test-c32tolower.c: New file, based on tests/test-c32isupper.c. * modules/c32tolower-tests: New file.
Diffstat (limited to 'modules/c32tolower-tests')
-rw-r--r--modules/c32tolower-tests30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/c32tolower-tests b/modules/c32tolower-tests
new file mode 100644
index 0000000000..1153eabadc
--- /dev/null
+++ b/modules/c32tolower-tests
@@ -0,0 +1,30 @@
+Files:
+tests/test-c32tolower.sh
+tests/test-c32tolower.c
+tests/signature.h
+tests/macros.h
+m4/locale-fr.m4
+m4/locale-ja.m4
+m4/locale-zh.m4
+m4/codeset.m4
+
+Depends-on:
+mbrtoc32
+c32rtomb
+setlocale
+
+configure.ac:
+gt_LOCALE_FR
+gt_LOCALE_FR_UTF8
+gt_LOCALE_JA
+gt_LOCALE_ZH_CN
+
+Makefile.am:
+TESTS += test-c32tolower.sh
+TESTS_ENVIRONMENT += \
+ LOCALE_FR='@LOCALE_FR@' \
+ LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
+ LOCALE_JA='@LOCALE_JA@' \
+ LOCALE_ZH_CN='@LOCALE_ZH_CN@'
+check_PROGRAMS += test-c32tolower
+test_c32tolower_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBUNISTRING)