Hash :
8756f882
Author :
Date :
2024-08-04T23:55:47
lock-tests: Clarify dependencies. * tests/test-lock.c: Include glthread/once.h. * modules/lock-tests (Depends-on): Add once.
Files:
tests/test-rwlock1.c
tests/test-lock.c
tests/atomic-int-gnulib.h
tests/macros.h
m4/semaphore.m4
Depends-on:
thread
stdint
once
usleep
yield
random
configure.ac:
AC_CHECK_HEADERS_ONCE([semaphore.h])
AC_CHECK_DECLS_ONCE([alarm])
AC_REQUIRE([gl_SEMAPHORE])
Makefile.am:
TESTS += test-rwlock1 test-lock
check_PROGRAMS += test-rwlock1 test-lock
test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ @LIB_SEMAPHORE@