Hash :
fe3c1700
Author :
Date :
2024-08-06T15:45:02
mtx tests: Strengthen tests. * tests/test-mtx-type.c: New file. * modules/mtx-tests (Files): Add it. (Makefile.am): Arrange to test test-mtx-type.
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
random
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@