summaryrefslogtreecommitdiff
path: root/modules/ldexpf-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-03 14:59:07 +0100
committerBruno Haible <bruno@clisp.org>2012-03-03 16:18:08 +0100
commitd9a34d524bf815ee9424bf43d8e069fd28a001c4 (patch)
tree60dd7283c567ab09edc641de531d9a50f75087a1 /modules/ldexpf-tests
parenta4450a07cbf1fdca6dab512323d6f1ff5cdf21f8 (diff)
downloadgnulib-d9a34d524bf815ee9424bf43d8e069fd28a001c4.tar.gz
ldexp* tests: More tests.
* tests/test-ldexp.h (test_function): Add some pseudo-randomized tests. * tests/test-ldexp.c (RANDOM): New macro. * tests/test-ldexpf.c (RANDOM): New macro. * tests/test-ldexpl.c (RANDOM): New macro. * modules/ldexp-tests (Files): Add tests/randomd.c. (Makefile.am): Add randomd.c to test_ldexp_SOURCES. * modules/ldexpf-tests (Files): Add tests/randomf.c. (Makefile.am): Add randomf.c to test_ldexpf_SOURCES. * modules/ldexpl-tests (Files): Add tests/randoml.c. (Makefile.am): Add randoml.c to test_ldexpl_SOURCES.
Diffstat (limited to 'modules/ldexpf-tests')
-rw-r--r--modules/ldexpf-tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ldexpf-tests b/modules/ldexpf-tests
index 5de3203432..80ee90d6d6 100644
--- a/modules/ldexpf-tests
+++ b/modules/ldexpf-tests
@@ -6,6 +6,7 @@ tests/infinity.h
tests/nan.h
tests/signature.h
tests/macros.h
+tests/randomf.c
Depends-on:
isnanf-nolibm
@@ -17,4 +18,5 @@ configure.ac:
Makefile.am:
TESTS += test-ldexpf
check_PROGRAMS += test-ldexpf
+test_ldexpf_SOURCES = test-ldexpf.c randomf.c
test_ldexpf_LDADD = $(LDADD) @LDEXPF_LIBM@