summaryrefslogtreecommitdiff
path: root/modules/sqrt-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-05 02:14:30 +0100
committerBruno Haible <bruno@clisp.org>2012-03-05 02:14:53 +0100
commitc5bc2aeaf6f4ca2d1e25f58b78a655f6211b50a6 (patch)
treec28ae6de2b2c6887ce6cf78adc8defd3bfe7cc3a /modules/sqrt-tests
parent5eb8c1aaacc36b33fce63f8e9f15175997bb1fa4 (diff)
downloadgnulib-c5bc2aeaf6f4ca2d1e25f58b78a655f6211b50a6.tar.gz
sqrt* tests: More tests.
* tests/test-sqrt.h: New file. * tests/test-sqrt.c: Include <float.h> and test-sqrt.h. (main): Invoke test_function. * tests/test-sqrtf.c: Include <float.h> and test-sqrt.h. (main): Invoke test_function. * tests/test-sqrtl.c: Include <float.h> and test-sqrt.h. (main): Invoke test_function. * modules/sqrt-tests (Files): Add tests/test-sqrt.h, tests/randomd.c. (Makefile.am): Add randomd.c to test_sqrt_SOURCES. * modules/sqrtf-tests (Files): Add tests/test-sqrt.h, tests/randomf.c. (Makefile.am): Add randomf.c to test_sqrtf_SOURCES. * modules/sqrtl-tests (Files): Add tests/test-sqrt.h, tests/randoml.c. (Depends-on): Add 'float'. (Makefile.am): Add randoml.c to test_sqrtl_SOURCES.
Diffstat (limited to 'modules/sqrt-tests')
-rw-r--r--modules/sqrt-tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/sqrt-tests b/modules/sqrt-tests
index 86d8176159..dad976d7c9 100644
--- a/modules/sqrt-tests
+++ b/modules/sqrt-tests
@@ -1,7 +1,9 @@
Files:
tests/test-sqrt.c
+tests/test-sqrt.h
tests/signature.h
tests/macros.h
+tests/randomd.c
Depends-on:
@@ -10,4 +12,5 @@ configure.ac:
Makefile.am:
TESTS += test-sqrt
check_PROGRAMS += test-sqrt
+test_sqrt_SOURCES = test-sqrt.c randomd.c
test_sqrt_LDADD = $(LDADD) @SQRT_LIBM@