[PATCH 3/3] test/math: don't try to build test dep as test

Gregory Fong gregory.0xf0 at gmail.com
Wed Apr 2 01:12:14 UTC 2014


libm-test.c is a generated file needed by the other math tests, but
test rules were trying to build it as a test if trying to compile the
tests a second time.

Signed-off-by: Gregory Fong <gregory.0xf0 at gmail.com>
---
 test/math/Makefile.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index ed0a0d6..7b9ed11 100644
--- a/test/math/Makefile.in
+++ b/test/math/Makefile.in
@@ -11,6 +11,8 @@ endif
 ifeq ($(DO_C99_MATH),)
 TESTS_DISABLED += test-float test-ifloat test-double test-idouble rint signgam ilogb
 endif
+# Not a test---this is a dependency for the tests
+TESTS_DISABLED += libm-test
 
 DODIFF_rint     := 1
 DODIFF_signgam  := 1
-- 
1.8.3.2



More information about the uClibc mailing list