1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/mbrtowc-tests
Bruno Haible c11a2e675c mbrtowc tests: Test in the UTF-8 environment on native Windows.
* tests/test-mbrtowc-w32utf8.sh: New file.
* tests/test-mbrtowc-w32utf8.c: New file.
* modules/mbrtowc-tests (Files): Add these files and
m4/windows-rc.m4, tests/windows-utf8.rc, tests/windows-utf8.manifest.
(Depends-on): Add test-xfail.
(configure.ac): Invoke gl_WINDOWS_RC.
(Makefile.am): Arrange to compile test-mbrtowc-w32utf8 and run
test-mbrtowc-w32utf8.sh.
2024-12-23 16:59:20 +01:00

68 lines
1.7 KiB
Plaintext

Files:
tests/test-mbrtowc-1.sh
tests/test-mbrtowc-2.sh
tests/test-mbrtowc-3.sh
tests/test-mbrtowc-4.sh
tests/test-mbrtowc-5.sh
tests/test-mbrtowc.c
tests/test-mbrtowc-w32-2.sh
tests/test-mbrtowc-w32-3.sh
tests/test-mbrtowc-w32-4.sh
tests/test-mbrtowc-w32-5.sh
tests/test-mbrtowc-w32-6.sh
tests/test-mbrtowc-w32-7.sh
tests/test-mbrtowc-w32-8.sh
tests/test-mbrtowc-w32.c
tests/test-mbrtowc-w32utf8.sh
tests/test-mbrtowc-w32utf8.c
tests/windows-utf8.rc
tests/windows-utf8.manifest
tests/signature.h
tests/macros.h
m4/locale-en.m4
m4/locale-fr.m4
m4/locale-ja.m4
m4/locale-zh.m4
m4/codeset.m4
m4/windows-rc.m4
Depends-on:
mbsinit
wctob
setlocale
localcharset
test-xfail
configure.ac:
gt_LOCALE_EN_UTF8
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gt_LOCALE_JA
gt_LOCALE_ZH_CN
gl_WINDOWS_RC
Makefile.am:
TESTS += \
test-mbrtowc-1.sh test-mbrtowc-2.sh test-mbrtowc-3.sh test-mbrtowc-4.sh \
test-mbrtowc-5.sh \
test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh \
test-mbrtowc-w32-5.sh test-mbrtowc-w32-6.sh test-mbrtowc-w32-7.sh \
test-mbrtowc-w32-8.sh
TESTS_ENVIRONMENT += \
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
LOCALE_FR='@LOCALE_FR@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
LOCALE_JA='@LOCALE_JA@' \
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
test_mbrtowc_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)
if OS_IS_NATIVE_WINDOWS
TESTS += test-mbrtowc-w32utf8.sh
noinst_PROGRAMS += test-mbrtowc-w32utf8
test_mbrtowc_w32utf8_LDADD = $(LDADD) test-mbrtowc-windows-utf8.res $(SETLOCALE_LIB)
test-mbrtowc-windows-utf8.res : $(srcdir)/windows-utf8.rc
$(WINDRES) -i $(srcdir)/windows-utf8.rc -o test-mbrtowc-windows-utf8.res --output-format=coff
MOSTLYCLEANFILES += test-mbrtowc-windows-utf8.res
endif