From c94b90fcd6f6bdbfff9ccf17bc570065bba51752 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 20 Jun 2019 04:40:02 +0200 Subject: cnd: Add tests. * tests/test-cnd.c: New file, based on tests/test-cond.c. * modules/cnd-tests: New file. --- modules/cnd-tests | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/cnd-tests (limited to 'modules/cnd-tests') 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@ -- cgit v1.2.1