1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/modules/mbrlen-tests
Bruno Haible 64e78e4467 tests: Use streq, part 1.
Done through sed -e 's/strcmp \([(][^()]*[)]\) == 0/streq \1/'

* tests/**/*.[hc]: Use streq instead of strcmp ... == 0.
* modules/*-tests (Dependencies): Add streq.
2026-03-01 09:44:40 +01:00

53 lines
1.2 KiB
Plaintext

Files:
tests/test-mbrlen-1.sh
tests/test-mbrlen-2.sh
tests/test-mbrlen-3.sh
tests/test-mbrlen-4.sh
tests/test-mbrlen-5.sh
tests/test-mbrlen.c
tests/test-mbrlen-w32-2.sh
tests/test-mbrlen-w32-3.sh
tests/test-mbrlen-w32-4.sh
tests/test-mbrlen-w32-5.sh
tests/test-mbrlen-w32-6.sh
tests/test-mbrlen-w32-7.sh
tests/test-mbrlen-w32-8.sh
tests/test-mbrlen-w32.c
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
Depends-on:
mbsinit
wctob
setlocale
localcharset
streq
configure.ac:
gt_LOCALE_EN_UTF8
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gt_LOCALE_JA
gt_LOCALE_ZH_CN
Makefile.am:
TESTS += \
test-mbrlen-1.sh test-mbrlen-2.sh test-mbrlen-3.sh test-mbrlen-4.sh \
test-mbrlen-5.sh \
test-mbrlen-w32-2.sh test-mbrlen-w32-3.sh test-mbrlen-w32-4.sh \
test-mbrlen-w32-5.sh test-mbrlen-w32-6.sh test-mbrlen-w32-7.sh \
test-mbrlen-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-mbrlen test-mbrlen-w32
test_mbrlen_LDADD = $(LDADD) $(SETLOCALE_LIB) $(MBRTOWC_LIB)