1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
gnulib/modules/mbsncasecmp-tests
Bruno Haible 1d411d2477 mbsncasecmp tests: Enhance tests.
* tests/test-mbsncasecmp.c (test_ascii): New function, extracted from
main.
(test_utf_8): Likewise. Add test cases with incomplete characters.
(main): Invoke them. Accept a numeric argument.
* tests/test-mbsncasecmp-4.sh: Renamed from tests/test-mbsncasecmp.sh.
* tests/test-mbsncasecmp-3.sh: New file, based on
tests/test-mbmemcasecmp-3.sh.
* modules/mbsncasecmp-tests (Files): Update after rename. Add
locale-en.m4, locale-fr.m4.
(configure.ac): Invoke gt_LOCALE_EN_UTF8, gt_LOCALE_FR_UTF8.
(Makefile.am): Arrange to run test-mbsncasecmp-3.sh,
test-mbsncasecmp-4.sh, instead of test-mbsncasecmp.sh.
2026-05-25 18:27:18 +02:00

27 lines
590 B
Plaintext

Files:
tests/test-mbsncasecmp-3.sh
tests/test-mbsncasecmp-4.sh
tests/test-mbsncasecmp.c
tests/macros.h
m4/locale-en.m4
m4/locale-fr.m4
m4/locale-tr.m4
m4/codeset.m4
Depends-on:
setlocale
configure.ac:
gt_LOCALE_EN_UTF8
gt_LOCALE_FR_UTF8
gt_LOCALE_TR_UTF8
Makefile.am:
TESTS += test-mbsncasecmp-3.sh test-mbsncasecmp-4.sh
TESTS_ENVIRONMENT += \
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
check_PROGRAMS += test-mbsncasecmp
test_mbsncasecmp_LDADD = $(LDADD) $(LIBUNISTRING) $(SETLOCALE_LIB) $(MBRTOWC_LIB) $(LIBC32CONV)