summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-04-28 11:21:41 +0200
committerBruno Haible <bruno@clisp.org>2019-04-28 11:21:41 +0200
commit5b891d3d9e310d4faa175f3a97921c466c907ba1 (patch)
treee8c100ba5e962e262382dd252b648b6743a8d893 /modules
parenta4398f60f17e3de5463540311bd6bc5c33045822 (diff)
downloadgnulib-5b891d3d9e310d4faa175f3a97921c466c907ba1.tar.gz
tls tests: Prevent that the test takes too long.
* tests/test-tls.c: Include <signal.h>, <unistd.h>. (main): Let the test fail if it takes more than 10 minutes. * modules/tls-tests (configure.ac): Test whether 'alarm' is declared.
Diffstat (limited to 'modules')
-rw-r--r--modules/tls-tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/tls-tests b/modules/tls-tests
index 107cfe45f6..562e36b21d 100644
--- a/modules/tls-tests
+++ b/modules/tls-tests
@@ -6,6 +6,7 @@ thread
yield
configure.ac:
+AC_CHECK_DECLS_ONCE([alarm])
Makefile.am:
TESTS += test-tls