From d9a34d524bf815ee9424bf43d8e069fd28a001c4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 3 Mar 2012 14:59:07 +0100 Subject: 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. --- modules/ldexpf-tests | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/ldexpf-tests') 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@ -- cgit v1.2.1