Hash :
e3fb76a5
Author :
Date :
2020-01-10T23:29:57
c32snrtombs: Add tests. * tests/test-c32snrtombs.c: New file, based on tests/test-wcsnrtombs.c. * tests/test-c32snrtombs-1.sh: New file, based on tests/test-wcsnrtombs1.sh. * tests/test-c32snrtombs-2.sh: New file, based on tests/test-wcsnrtombs2.sh. * tests/test-c32snrtombs-3.sh: New file, based on tests/test-wcsnrtombs3.sh. * tests/test-c32snrtombs-4.sh: New file, based on tests/test-wcsnrtombs4.sh. * modules/c32snrtombs-tests: New file, based on modules/wcsnrtombs-tests.
Files:
tests/test-c32snrtombs-1.sh
tests/test-c32snrtombs-2.sh
tests/test-c32snrtombs-3.sh
tests/test-c32snrtombs-4.sh
tests/test-c32snrtombs.c
tests/signature.h
tests/macros.h
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-zh.m4
m4/codeset.m4
Depends-on:
setlocale
mbstoc32s
configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gt_LOCALE_JA
gt_LOCALE_ZH_CN
Makefile.am:
TESTS += test-c32snrtombs-1.sh test-c32snrtombs-2.sh test-c32snrtombs-3.sh test-c32snrtombs-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-c32snrtombs
test_c32snrtombs_LDADD = $(LDADD) $(LIB_SETLOCALE)