From 7598eeaa1defa2884adaa890bb115c493d69cc35 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 23 Feb 2013 07:39:41 +0100 Subject: test: cater for config Signed-off-by: Bernhard Reutner-Fischer --- test/math/Makefile.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test/math') 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 -- cgit v1.2.3