summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-07-15 02:41:18 +0200
committerBruno Haible <bruno@clisp.org>2019-07-15 02:41:18 +0200
commit6fc3895e90a697bb047d6301d99b95e1c9499b23 (patch)
treed1707407afc99e958378d44a45f52cf0224e826d /modules
parent16a69219c961943bcf27ac63fd1f6f63c8af2b77 (diff)
downloadgnulib-6fc3895e90a697bb047d6301d99b95e1c9499b23.tar.gz
pthread-cond: Add tests.
* tests/test-pthread-cond.c: New file, based on tests/test-cond.c and tests/test-cnd.c. * modules/pthread-cond-tests: New file.
Diffstat (limited to 'modules')
-rw-r--r--modules/pthread-cond-tests16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/pthread-cond-tests b/modules/pthread-cond-tests
new file mode 100644
index 0000000000..8334b3b7cf
--- /dev/null
+++ b/modules/pthread-cond-tests
@@ -0,0 +1,16 @@
+Files:
+tests/test-pthread-cond.c
+tests/macros.h
+
+Depends-on:
+pthread-thread
+pthread-mutex
+nanosleep
+sched_yield
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-pthread-cond
+check_PROGRAMS += test-pthread-cond
+test_pthread_cond_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@