summaryrefslogtreecommitdiff
path: root/modules/frexp-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-03 14:28:03 +0100
committerBruno Haible <bruno@clisp.org>2012-03-03 16:18:01 +0100
commita4450a07cbf1fdca6dab512323d6f1ff5cdf21f8 (patch)
tree2b48443daee25a8b3f7b0e7b418280e475802e73 /modules/frexp-tests
parentd96626b76294ac949264f9b0b7ec3148aed07a6c (diff)
downloadgnulib-a4450a07cbf1fdca6dab512323d6f1ff5cdf21f8.tar.gz
frexp* tests: More tests.
* tests/test-frexp.h (test_function): Add some pseudo-randomized tests. * tests/test-frexp.c (RANDOM): New macro. * tests/test-frexpf.c (RANDOM): New macro. * tests/test-frexpl.c (RANDOM): New macro. * modules/frexp-tests (Files): Add tests/randomd.c. (Makefile.am): Add randomd.c to test_frexp_SOURCES. * modules/frexpf-tests (Files): Add tests/randomf.c. (Makefile.am): Add randomf.c to test_frexpf_SOURCES. * modules/frexpl-tests (Files): Add tests/randoml.c. (Makefile.am): Add randoml.c to test_frexpl_SOURCES.
Diffstat (limited to 'modules/frexp-tests')
-rw-r--r--modules/frexp-tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/frexp-tests b/modules/frexp-tests
index 3b3b837c64..0d957f28c0 100644
--- a/modules/frexp-tests
+++ b/modules/frexp-tests
@@ -6,6 +6,7 @@ tests/infinity.h
tests/nan.h
tests/signature.h
tests/macros.h
+tests/randomd.c
Depends-on:
isnand-nolibm
@@ -16,4 +17,5 @@ configure.ac:
Makefile.am:
TESTS += test-frexp
check_PROGRAMS += test-frexp
+test_frexp_SOURCES = test-frexp.c randomd.c
test_frexp_LDADD = $(LDADD) @FREXP_LIBM@