summaryrefslogtreecommitdiff
path: root/modules/cnd-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-06-20 04:40:02 +0200
committerBruno Haible <bruno@clisp.org>2019-06-20 04:46:57 +0200
commitc94b90fcd6f6bdbfff9ccf17bc570065bba51752 (patch)
treed4b4b3a005aaa405b9844790cffaaf0632356281 /modules/cnd-tests
parent4a440ef9b6c2568f54b0487b1ebaffc597efb399 (diff)
downloadgnulib-c94b90fcd6f6bdbfff9ccf17bc570065bba51752.tar.gz
cnd: Add tests.
* tests/test-cnd.c: New file, based on tests/test-cond.c. * modules/cnd-tests: New file.
Diffstat (limited to 'modules/cnd-tests')
-rw-r--r--modules/cnd-tests16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/cnd-tests b/modules/cnd-tests
new file mode 100644
index 0000000000..f9dc79ea7d
--- /dev/null
+++ b/modules/cnd-tests
@@ -0,0 +1,16 @@
+Files:
+tests/test-cnd.c
+tests/macros.h
+
+Depends-on:
+mtx
+thrd
+gettimeofday
+
+configure.ac:
+AC_CHECK_DECLS_ONCE([alarm])
+
+Makefile.am:
+TESTS += test-cnd
+check_PROGRAMS += test-cnd
+test_cnd_LDADD = $(LDADD) @LIBSTDTHREAD@