Hash :
13679eb9
Author :
Date :
2023-04-03T14:24:39
mbrtoc32 tests: Prefer *c32* functions. * tests/test-mbrtoc32.c (main): Use btoc32 instead of btowc. * modules/mbrtoc32-tests (Depends-on): Add btoc32.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Files:
tests/test-mbrtoc32-1.sh
tests/test-mbrtoc32-2.sh
tests/test-mbrtoc32-3.sh
tests/test-mbrtoc32-4.sh
tests/test-mbrtoc32-5.sh
tests/test-mbrtoc32.c
tests/test-mbrtoc32-w32-1.sh
tests/test-mbrtoc32-w32-2.sh
tests/test-mbrtoc32-w32-3.sh
tests/test-mbrtoc32-w32-4.sh
tests/test-mbrtoc32-w32-5.sh
tests/test-mbrtoc32-w32-6.sh
tests/test-mbrtoc32-w32-7.sh
tests/test-mbrtoc32-w32.c
tests/signature.h
tests/macros.h
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-zh.m4
m4/codeset.m4
Depends-on:
mbsinit
btoc32
c32tob
setlocale
localcharset
configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gt_LOCALE_JA
gt_LOCALE_ZH_CN
Makefile.am:
TESTS += \
test-mbrtoc32-1.sh test-mbrtoc32-2.sh test-mbrtoc32-3.sh test-mbrtoc32-4.sh \
test-mbrtoc32-5.sh \
test-mbrtoc32-w32-1.sh test-mbrtoc32-w32-2.sh test-mbrtoc32-w32-3.sh \
test-mbrtoc32-w32-4.sh test-mbrtoc32-w32-5.sh test-mbrtoc32-w32-6.sh \
test-mbrtoc32-w32-7.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-mbrtoc32 test-mbrtoc32-w32
test_mbrtoc32_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)