Hash :
b151d099
Author :
Date :
2020-07-01T22:06:13
tests: Refactor. * tests/atomic-int-isoc.h: New file, extracted from tests/test-mtx.c. * tests/test-mtx.c: Include it. Remove the corresponding code. * modules/mtx-tests (Files): Add tests/atomic-int-isoc.h.
Files:
tests/test-mtx.c
tests/test-call_once.c
tests/atomic-int-isoc.h
tests/macros.h
Depends-on:
thrd
lock
stdint
configure.ac:
AC_CHECK_HEADERS_ONCE([semaphore.h])
AC_CHECK_DECLS_ONCE([alarm])
Makefile.am:
TESTS += test-mtx test-call_once
check_PROGRAMS += test-mtx test-call_once
test_mtx_LDADD = $(LDADD) @LIBSTDTHREAD@ @LIBTHREAD@
test_call_once_LDADD = $(LDADD) @LIBSTDTHREAD@