summaryrefslogtreecommitdiff
path: root/modules/hypotl-tests
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/hypotl-tests
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/hypotl-tests')
-rw-r--r--modules/hypotl-tests5
1 files changed, 5 insertions, 0 deletions
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@