summaryrefslogtreecommitdiff
path: root/modules/c32isalpha-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-25 23:47:18 +0100
committerBruno Haible <bruno@clisp.org>2020-01-25 23:47:18 +0100
commit7a095b97eafc53399cd7fcb9e85867910b74e1c4 (patch)
tree13f97c48311fc62d8637d6fef4f7dd2f029140fe /modules/c32isalpha-tests
parentd746876521aa42b1a4e3b54c3a57e4b2896c1985 (diff)
downloadgnulib-7a095b97eafc53399cd7fcb9e85867910b74e1c4.tar.gz
c32isalpha: Add tests.
* tests/test-c32isalpha.c: New file. * tests/test-c32isalpha.sh: New file. * modules/c32isalpha-tests: New file.
Diffstat (limited to 'modules/c32isalpha-tests')
-rw-r--r--modules/c32isalpha-tests29
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/c32isalpha-tests b/modules/c32isalpha-tests
new file mode 100644
index 0000000000..4c4ebaa9a7
--- /dev/null
+++ b/modules/c32isalpha-tests
@@ -0,0 +1,29 @@
+Files:
+tests/test-c32isalpha.sh
+tests/test-c32isalpha.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-c32isalpha.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-c32isalpha
+test_c32isalpha_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC)