[git commit] test/math: don't try to build test dep as test

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Apr 4 14:13:16 UTC 2014


commit: http://git.uclibc.org/uClibc/commit/?id=b281287719e17093aaca2bede992fb2e748a3731
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

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>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 test/math/Makefile.in |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/test/math/Makefile.in b/test/math/Makefile.in
index 470a621..914fc75 100644
--- a/test/math/Makefile.in
+++ b/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


More information about the uClibc-cvs mailing list