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/trim-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

29 lines
564 B
Plaintext

Files:
tests/test-trim1.sh
tests/test-trim2.sh
tests/test-trim3.sh
tests/test-trim.c
tests/macros.h
m4/locale-en.m4
m4/locale-fr.m4
m4/locale-zh.m4
m4/codeset.m4
Depends-on:
setlocale
streq
configure.ac:
gt_LOCALE_EN_UTF8
gt_LOCALE_FR_UTF8
gt_LOCALE_ZH_CN
Makefile.am:
TESTS += test-trim1.sh test-trim2.sh test-trim3.sh
TESTS_ENVIRONMENT += \
LOCALE_EN_UTF8='@LOCALE_EN_UTF8@' \
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
check_PROGRAMS += test-trim
test_trim_LDADD = $(LDADD) $(LIBUNISTRING) @LIBINTL@ $(MBRTOWC_LIB) $(LIBC32CONV)