summaryrefslogtreecommitdiff
path: root/modules/mbstoc32s-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-03 14:24:50 +0200
committerBruno Haible <bruno@clisp.org>2023-04-03 14:24:50 +0200
commit144cf2bd1009ecc82ea289fa2b05d89d7555f458 (patch)
tree2b98b5d38dec4743c258c689f218bc466c9509f6 /modules/mbstoc32s-tests
parent52178721fa208bade898c3d14aed806e87bce642 (diff)
downloadgnulib-144cf2bd1009ecc82ea289fa2b05d89d7555f458.tar.gz
mbstoc32s tests: Check behaviour in the C locale.
* tests/test-mbstoc32s.c (main): Test behaviour in the C locale. Based on tests/test-mbstowcs.c. * tests/test-mbstoc32s-5.sh: New file, based on tests/test-mbstowcs5.sh. * modules/mbstoc32s-tests (Files): Add it. (Depends-on): Add btoc32. (Makefile.am): Run test-mbstoc32s-5.sh.
Diffstat (limited to 'modules/mbstoc32s-tests')
-rw-r--r--modules/mbstoc32s-tests6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/mbstoc32s-tests b/modules/mbstoc32s-tests
index 565796a06f..9e6dd61d26 100644
--- a/modules/mbstoc32s-tests
+++ b/modules/mbstoc32s-tests
@@ -3,6 +3,7 @@ tests/test-mbstoc32s-1.sh
tests/test-mbstoc32s-2.sh
tests/test-mbstoc32s-3.sh
tests/test-mbstoc32s-4.sh
+tests/test-mbstoc32s-5.sh
tests/test-mbstoc32s.c
tests/signature.h
tests/macros.h
@@ -12,6 +13,7 @@ m4/locale-zh.m4
m4/codeset.m4
Depends-on:
+btoc32
c32tob
setlocale
@@ -22,7 +24,9 @@ gt_LOCALE_JA
gt_LOCALE_ZH_CN
Makefile.am:
-TESTS += test-mbstoc32s-1.sh test-mbstoc32s-2.sh test-mbstoc32s-3.sh test-mbstoc32s-4.sh
+TESTS += \
+ test-mbstoc32s-1.sh test-mbstoc32s-2.sh test-mbstoc32s-3.sh \
+ test-mbstoc32s-4.sh test-mbstoc32s-5.sh
TESTS_ENVIRONMENT += \
LOCALE_FR='@LOCALE_FR@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \