Browse Source

test/math: don't try to build test dep as test

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>
Gregory Fong 11 years ago
parent
commit
b281287719
1 changed files with 4 additions and 1 deletions
  1. 4 1
      test/math/Makefile.in

+ 4 - 1
test/math/Makefile.in

@@ -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