diff mbox

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

Message ID 1396401134-21858-3-git-send-email-gregory.0xf0@gmail.com
State Accepted
Commit b281287719e17093aaca2bede992fb2e748a3731
Headers show

Commit Message

Gregory Fong April 2, 2014, 1:12 a.m. UTC
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>
---
 test/math/Makefile.in | 2 ++
 1 file changed, 2 insertions(+)

Comments

Bernhard Reutner-Fischer April 4, 2014, 2:18 p.m. UTC | #1
On Tue, Apr 01, 2014 at 06:12:14PM -0700, Gregory Fong wrote:
> 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.

Applied a slightly adjusted variant.
Thanks!
diff mbox

Patch

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