diff options
author | Bruno Haible <bruno@clisp.org> | 2020-01-05 02:33:40 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-01-05 02:33:40 +0100 |
commit | b086701a46a88cb42045bfded47d0d87706de6b2 (patch) | |
tree | e6170218a4ed4a12e513473c2e2f1808024db114 /modules/mbsnrtoc32s-tests | |
parent | 80ae5aa1307114f51bb47b1b1a4ac89a31422956 (diff) | |
download | gnulib-b086701a46a88cb42045bfded47d0d87706de6b2.tar.gz |
mbsnrtoc32s: Add tests.
* tests/test-mbsnrtoc32s.c: New file, based on tests/test-mbsnrtowcs.c.
* tests/test-mbsnrtoc32s-1.sh: New file, based on
tests/test-mbsnrtowcs1.sh.
* tests/test-mbsnrtoc32s-2.sh: New file, based on
tests/test-mbsnrtowcs2.sh.
* tests/test-mbsnrtoc32s-3.sh: New file, based on
tests/test-mbsnrtowcs3.sh.
* tests/test-mbsnrtoc32s-4.sh: New file, based on
tests/test-mbsnrtowcs4.sh.
* modules/mbsnrtoc32s-tests: New file, based on
modules/mbsnrtowcs-tests.
Diffstat (limited to 'modules/mbsnrtoc32s-tests')
-rw-r--r-- | modules/mbsnrtoc32s-tests | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/mbsnrtoc32s-tests b/modules/mbsnrtoc32s-tests new file mode 100644 index 0000000000..886f7fe878 --- /dev/null +++ b/modules/mbsnrtoc32s-tests @@ -0,0 +1,34 @@ +Files: +tests/test-mbsnrtoc32s-1.sh +tests/test-mbsnrtoc32s-2.sh +tests/test-mbsnrtoc32s-3.sh +tests/test-mbsnrtoc32s-4.sh +tests/test-mbsnrtoc32s.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 +mbsinit +c32tob +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += test-mbsnrtoc32s-1.sh test-mbsnrtoc32s-2.sh test-mbsnrtoc32s-3.sh test-mbsnrtoc32s-4.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-mbsnrtoc32s +test_mbsnrtoc32s_LDADD = $(LDADD) $(LIB_SETLOCALE) $(LIB_MBRTOWC) |