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/setlocale-null-tests
Bruno Haible 69297aa373 tests: Use streq, part 2.
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 10:04:06 +01:00

25 lines
627 B
Plaintext

Files:
tests/test-setlocale_null.c
tests/test-setlocale_null-mt-one.c
tests/test-setlocale_null-mt-all.c
Depends-on:
thread
nanosleep
streq
configure.ac:
Makefile.am:
TESTS += \
test-setlocale_null \
test-setlocale_null-mt-one \
test-setlocale_null-mt-all
check_PROGRAMS += \
test-setlocale_null \
test-setlocale_null-mt-one \
test-setlocale_null-mt-all
test_setlocale_null_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@
test_setlocale_null_mt_one_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@ $(LIBMULTITHREAD) $(NANOSLEEP_LIB)
test_setlocale_null_mt_all_LDADD = $(LDADD) @SETLOCALE_NULL_LIB@ $(LIBMULTITHREAD) $(NANOSLEEP_LIB)