diff options
author | Bruno Haible <bruno@clisp.org> | 2023-03-31 00:30:39 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-03-31 00:30:39 +0200 |
commit | e5b2b726e2720cb6c13fde84afd1514aca9f03d6 (patch) | |
tree | 41599bcfe7af198dbf1182d5bd09c9bad71a2236 /modules/mbstowcs-tests | |
parent | 7595a8817e03c1366817e69aa74263efa2ca4979 (diff) | |
download | gnulib-e5b2b726e2720cb6c13fde84afd1514aca9f03d6.tar.gz |
mbstowcs: Add tests.
* tests/test-mbstowcs1.sh: New file, based on tests/test-mbsrtowcs1.sh.
* tests/test-mbstowcs2.sh: New file, based on tests/test-mbsrtowcs2.sh.
* tests/test-mbstowcs3.sh: New file, based on tests/test-mbsrtowcs3.sh.
* tests/test-mbstowcs4.sh: New file, based on tests/test-mbsrtowcs4.sh.
* tests/test-mbstowcs5.sh: New file, based on tests/test-mbsrtowcs5.sh.
* tests/test-mbstowcs.c: New file, based on tests/test-mbsrtowcs.c.
* modules/mbstowcs-tests: New file, based on modules/mbsrtowcs-tests.
Diffstat (limited to 'modules/mbstowcs-tests')
-rw-r--r-- | modules/mbstowcs-tests | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/mbstowcs-tests b/modules/mbstowcs-tests new file mode 100644 index 0000000000..a780be2c4e --- /dev/null +++ b/modules/mbstowcs-tests @@ -0,0 +1,37 @@ +Files: +tests/test-mbstowcs1.sh +tests/test-mbstowcs2.sh +tests/test-mbstowcs3.sh +tests/test-mbstowcs4.sh +tests/test-mbstowcs5.sh +tests/test-mbstowcs.c +tests/signature.h +tests/macros.h +m4/locale-fr.m4 +m4/locale-ja.m4 +m4/locale-zh.m4 +m4/codeset.m4 + +Depends-on: +mbrtowc +mbsinit +wctob +setlocale + +configure.ac: +gt_LOCALE_FR +gt_LOCALE_FR_UTF8 +gt_LOCALE_JA +gt_LOCALE_ZH_CN + +Makefile.am: +TESTS += \ + test-mbstowcs1.sh test-mbstowcs2.sh test-mbstowcs3.sh test-mbstowcs4.sh \ + test-mbstowcs5.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-mbstowcs +test_mbstowcs_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB) |