summaryrefslogtreecommitdiff
path: root/modules/c32ispunct-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-25 23:59:52 +0100
committerBruno Haible <bruno@clisp.org>2020-01-26 00:17:35 +0100
commit5ad2487b4b741aec20cafb3bbe67019489202df6 (patch)
tree83d8378579e91c0193464e94b1a57a9611604a8e /modules/c32ispunct-tests
parentd9e2a748e4d07c110613e67f985c1111abf85ad8 (diff)
downloadgnulib-5ad2487b4b741aec20cafb3bbe67019489202df6.tar.gz
c32ispunct: Add tests.
* tests/test-c32ispunct.c: New file. * tests/test-c32ispunct.sh: New file. * modules/c32ispunct-tests: New file.
Diffstat (limited to 'modules/c32ispunct-tests')
-rw-r--r--modules/c32ispunct-tests29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/c32ispunct-tests b/modules/c32ispunct-tests
new file mode 100644
index 0000000000..2e1ee9526f
--- /dev/null
+++ b/modules/c32ispunct-tests
@@ -0,0 +1,29 @@
+Files:
+tests/test-c32ispunct.sh
+tests/test-c32ispunct.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-c32ispunct.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-c32ispunct
+test_c32ispunct_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)