summaryrefslogtreecommitdiff
path: root/modules/asyncsafe-spin-tests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/asyncsafe-spin-tests')
-rw-r--r--modules/asyncsafe-spin-tests21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/asyncsafe-spin-tests b/modules/asyncsafe-spin-tests
new file mode 100644
index 0000000000..dacb26aaac
--- /dev/null
+++ b/modules/asyncsafe-spin-tests
@@ -0,0 +1,21 @@
+Files:
+tests/test-asyncsafe-spin1.c
+tests/test-asyncsafe-spin2.c
+tests/atomic-int-gnulib.h
+m4/semaphore.m4
+
+Depends-on:
+thread
+lock
+yield
+random
+
+configure.ac:
+AC_CHECK_HEADERS_ONCE([semaphore.h])
+AC_CHECK_DECLS_ONCE([alarm])
+AC_REQUIRE([gl_SEMAPHORE])
+
+Makefile.am:
+TESTS += test-asyncsafe-spin1 test-asyncsafe-spin2
+check_PROGRAMS += test-asyncsafe-spin1 test-asyncsafe-spin2
+test_asyncsafe_spin2_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ @LIB_SEMAPHORE@

Return to:

Send suggestions and report system problems to the System administrator.