summaryrefslogtreecommitdiff
path: root/modules/c32isupper-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-26 00:03:23 +0100
committerBruno Haible <bruno@clisp.org>2020-01-26 00:17:37 +0100
commit1eb5ae2654d5dcefdd3491030a4a247c2203c1e5 (patch)
tree0054439f332d490da4e5fa7bcfb1c468094987e6 /modules/c32isupper-tests
parentd1259e025028d63e46c0e520ccf05a24bd4c4dce (diff)
downloadgnulib-1eb5ae2654d5dcefdd3491030a4a247c2203c1e5.tar.gz
c32isupper: Add tests.
* tests/test-c32isupper.c: New file. * tests/test-c32isupper.sh: New file. * modules/c32isupper-tests: New file.
Diffstat (limited to 'modules/c32isupper-tests')
-rw-r--r--modules/c32isupper-tests29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/c32isupper-tests b/modules/c32isupper-tests
new file mode 100644
index 0000000000..0410e9d2ba
--- /dev/null
+++ b/modules/c32isupper-tests
@@ -0,0 +1,29 @@
+Files:
+tests/test-c32isupper.sh
+tests/test-c32isupper.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
+setlocale
+
+configure.ac:
+gt_LOCALE_FR
+gt_LOCALE_FR_UTF8
+gt_LOCALE_JA
+gt_LOCALE_ZH_CN
+
+Makefile.am:
+TESTS += test-c32isupper.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-c32isupper
+test_c32isupper_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)