OSDN Git Service

test/math: don't try to build test dep as test
authorGregory Fong <gregory.0xf0@gmail.com>
Wed, 2 Apr 2014 01:12:14 +0000 (18:12 -0700)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 4 Apr 2014 14:13:16 +0000 (16:13 +0200)
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@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
test/math/Makefile.in

index 470a621..914fc75 100644 (file)
@@ -1,8 +1,11 @@
 # uClibc math tests
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 
+# libm-test.c is a generated file used by the tests internally so skip it
+TESTS_DISABLED := libm-test
+
 # gamma (removed from TESTS, need to add "small errors are ok" machinery there)
-TESTS_DISABLED := gamma
+TESTS_DISABLED += gamma
 ifeq ($(UCLIBC_HAS_LONG_DOUBLE_MATH),)
 TESTS_DISABLED += test-ldouble test-ildoubl compile_test c99_test
 else