summaryrefslogtreecommitdiff
path: root/modules/cbrtf-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-05 14:16:38 +0100
committerBruno Haible <bruno@clisp.org>2012-03-05 14:16:38 +0100
commit4dda933b73d7768c4824f13c46fef6fd0e9dfb73 (patch)
tree4a46938399e0623eca8dc9f1465e246aeed55b95 /modules/cbrtf-tests
parent0c183c17428707bd6182451e6da6dbb62626e078 (diff)
downloadgnulib-4dda933b73d7768c4824f13c46fef6fd0e9dfb73.tar.gz
cbrt* tests: More tests.
* tests/test-cbrt.h: New file. * tests/test-cbrt.c: Include <float.h> and test-cbrt.h. (main): Invoke test_function. * tests/test-cbrtf.c: Include <float.h> and test-cbrt.h. (main): Invoke test_function. * tests/test-cbrtl.c: Include <float.h> and test-cbrt.h. (main): Invoke test_function. * modules/cbrt-tests (Files): Add tests/test-cbrt.h, tests/randomd.c. (Makefile.am): Add randomd.c to test_cbrt_SOURCES. * modules/cbrtf-tests (Files): Add tests/test-cbrt.h, tests/randomf.c. (Makefile.am): Add randomf.c to test_cbrtf_SOURCES. * modules/cbrtl-tests (Files): Add tests/test-cbrt.h, tests/randoml.c. (Depends-on): Add 'float'. (Makefile.am): Add randoml.c to test_cbrtl_SOURCES.
Diffstat (limited to 'modules/cbrtf-tests')
-rw-r--r--modules/cbrtf-tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/cbrtf-tests b/modules/cbrtf-tests
index 31f328d293..56f32ce371 100644
--- a/modules/cbrtf-tests
+++ b/modules/cbrtf-tests
@@ -1,7 +1,9 @@
Files:
tests/test-cbrtf.c
+tests/test-cbrt.h
tests/signature.h
tests/macros.h
+tests/randomf.c
Depends-on:
@@ -10,4 +12,5 @@ configure.ac:
Makefile.am:
TESTS += test-cbrtf
check_PROGRAMS += test-cbrtf
+test_cbrtf_SOURCES = test-cbrtf.c randomf.c
test_cbrtf_LDADD = $(LDADD) @CBRTF_LIBM@