1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
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

24 lines
451 B
Plaintext

Files:
tests/test-mtx.c
tests/test-mtx-type.c
tests/atomic-int-isoc.h
tests/macros.h
m4/semaphore.m4
Depends-on:
thrd
stdint-h
random
streq
configure.ac:
AC_CHECK_HEADERS_ONCE([semaphore.h])
AC_CHECK_DECLS_ONCE([alarm])
AC_REQUIRE([gl_SEMAPHORE])
Makefile.am:
TESTS += test-mtx test-mtx-type
check_PROGRAMS += test-mtx test-mtx-type
test_mtx_LDADD = $(LDADD) @LIBSTDTHREAD@ @LIBTHREAD@ @LIB_SEMAPHORE@
test_mtx_type_LDADD = $(LDADD) @LIBSTDTHREAD@