summaryrefslogtreecommitdiff
path: root/modules/log1p-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-10 19:58:51 +0100
committerBruno Haible <bruno@clisp.org>2012-03-11 02:40:31 +0100
commitf846e191ec7ffc638fc2ebbc6fdfa7f75e37d179 (patch)
tree0c9e1e730417727be74cfe6c0b5d08f6167ab492 /modules/log1p-tests
parent5f70dcfc4f65198adbce63a01a17f18b1627beee (diff)
downloadgnulib-f846e191ec7ffc638fc2ebbc6fdfa7f75e37d179.tar.gz
log1p tests: More tests.
* tests/test-log1p.h: New file. * modules/log1p-tests (Files): Add tests/test-log1p.h, tests/randomd.c. (Makefile.am): Add randomd.c to test_log1p_SOURCES. * tests/test-log1p.c: Include <float.h> and test-log1p.h. (main): Invoke test_function.
Diffstat (limited to 'modules/log1p-tests')
-rw-r--r--modules/log1p-tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/log1p-tests b/modules/log1p-tests
index f0fff097b5..c24f6a4a31 100644
--- a/modules/log1p-tests
+++ b/modules/log1p-tests
@@ -1,7 +1,9 @@
Files:
tests/test-log1p.c
+tests/test-log1p.h
tests/signature.h
tests/macros.h
+tests/randomd.c
Depends-on:
@@ -10,4 +12,5 @@ configure.ac:
Makefile.am:
TESTS += test-log1p
check_PROGRAMS += test-log1p
+test_log1p_SOURCES = test-log1p.c randomd.c
test_log1p_LDADD = $(LDADD) @LOG1P_LIBM@