summaryrefslogtreecommitdiff
path: root/test/math
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-23 07:39:41 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-03-14 22:49:25 +0100
commit7598eeaa1defa2884adaa890bb115c493d69cc35 (patch)
tree7105d70a9a91a147503b7b85de9a1efa60626ff5 /test/math
parent36a30632a5fd6dbeae9346af7a946dcea490d796 (diff)
test: cater for config
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/math')
-rw-r--r--test/math/Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index e76cbdbaa..beef6503d 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -1,14 +1,16 @@
# uClibc math tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-TESTS := basic-test tst-definitions test-fpucw test-float test-ifloat test-double test-idouble \
- rint signgam ilogb
# gamma (removed from TESTS, need to add "small errors are ok" machinery there)
-ifeq ($(UCLIBC_HAS_LONG_DOUBLE_MATH),y)
-TESTS += test-ldouble test-ildoubl compile_test c99_test
+TESTS_DISABLED := gamma
+ifeq ($(UCLIBC_HAS_LONG_DOUBLE_MATH),)
+TESTS_DISABLED += test-ldouble test-ildoubl compile_test c99_test
else
CFLAGS_basic-test := -DNO_LONG_DOUBLE
endif
+ifeq ($(DO_C99_MATH),)
+TESTS_DISABLED += test-float test-ifloat test-double test-idouble rint signgam ilogb
+endif
DODIFF_rint := 1
DODIFF_signgam := 1