summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-05 13:21:47 +0100
committerBruno Haible <bruno@clisp.org>2012-03-05 13:21:47 +0100
commit0c183c17428707bd6182451e6da6dbb62626e078 (patch)
treeac28b442cc739c940013e1ba908f28a8bcd21529 /modules
parent10f2e326a345a8f342ddf10ceb29b5e143795de1 (diff)
downloadgnulib-0c183c17428707bd6182451e6da6dbb62626e078.tar.gz
hypot* tests: More tests.
* tests/test-hypot.h: New file, partially extracted from tests/test-hypotl.c. * tests/test-hypot.c: Include test-hypot.h. (main): Invoke test_function. * tests/test-hypotf.c: Include test-hypot.h. (main): Invoke test_function. * tests/test-hypotl.c: Include fpucw.h and test-hypot.h. (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING and test_function. * modules/hypot-tests (Files): Add tests/test-hypot.h, tests/randomd.c. (Makefile.am): Add randomd.c to test_hypot_SOURCES. * modules/hypotf-tests (Files): Add tests/test-hypot.h, tests/randomf.c. (Makefile.am): Add randomf.c to test_hypotf_SOURCES. * modules/hypotl-tests (Files): Add tests/test-hypot.h, tests/randoml.c. (Depends-on): Add 'fpucw', 'float'. (Makefile.am): Add randoml.c to test_hypotl_SOURCES.
Diffstat (limited to 'modules')
-rw-r--r--modules/hypot-tests3
-rw-r--r--modules/hypotf-tests3
-rw-r--r--modules/hypotl-tests5
3 files changed, 11 insertions, 0 deletions
diff --git a/modules/hypot-tests b/modules/hypot-tests
index f4b65d05d3..b8df992516 100644
--- a/modules/hypot-tests
+++ b/modules/hypot-tests
@@ -1,7 +1,9 @@
Files:
tests/test-hypot.c
+tests/test-hypot.h
tests/signature.h
tests/macros.h
+tests/randomd.c
Depends-on:
@@ -10,4 +12,5 @@ configure.ac:
Makefile.am:
TESTS += test-hypot
check_PROGRAMS += test-hypot
+test_hypot_SOURCES = test-hypot.c randomd.c
test_hypot_LDADD = $(LDADD) @HYPOT_LIBM@
diff --git a/modules/hypotf-tests b/modules/hypotf-tests
index e84a62469a..92c37edae0 100644
--- a/modules/hypotf-tests
+++ b/modules/hypotf-tests
@@ -1,7 +1,9 @@
Files:
tests/test-hypotf.c
+tests/test-hypot.h
tests/signature.h
tests/macros.h
+tests/randomf.c
Depends-on:
@@ -10,4 +12,5 @@ configure.ac:
Makefile.am:
TESTS += test-hypotf
check_PROGRAMS += test-hypotf
+test_hypotf_SOURCES = test-hypotf.c randomf.c
test_hypotf_LDADD = $(LDADD) @HYPOTF_LIBM@
diff --git a/modules/hypotl-tests b/modules/hypotl-tests
index 76a995ef68..27b0b38556 100644
--- a/modules/hypotl-tests
+++ b/modules/hypotl-tests
@@ -1,13 +1,18 @@
Files:
tests/test-hypotl.c
+tests/test-hypot.h
tests/signature.h
tests/macros.h
+tests/randoml.c
Depends-on:
+fpucw
+float
configure.ac:
Makefile.am:
TESTS += test-hypotl
check_PROGRAMS += test-hypotl
+test_hypotl_SOURCES = test-hypotl.c randoml.c
test_hypotl_LDADD = $(LDADD) @HYPOTL_LIBM@