bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automake 1.11.1 glitch?


From: Bob Friesenhahn
Subject: Re: Automake 1.11.1 glitch?
Date: Mon, 6 Sep 2010 19:57:32 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Mon, 6 Sep 2010, Ralf Wildenhues wrote:

* Ralf Wildenhues wrote on Mon, Sep 06, 2010 at 09:39:54PM CEST:
Hmm, maybe we can generate a makefile snippet on the fly, to be included
by the recursive make.

Bob, can you try out this patch?

The GraphicsMagick test suite passes with this patch. I do see one test failure with the Automake test suite

  FAIL: silent5.test

but this test may have been failing prior to the patch.

Bob


Thanks,
Ralf

2010-09-06  Ralf Wildenhues  <address@hidden>

        parallel-tests: avoid command-line length limit issue.
        * lib/am/check.am [%?PARALLEL_TESTS%] (check-TESTS): Pass
        sanitized TEST_LOGS value as makefile snippet on standard
        input to $(MAKE), to avoid exceeding the command line limit on
        w32 (MSYS).
        Report by Bob Friesenhahn.

diff --git a/lib/am/check.am b/lib/am/check.am
index c612b22..39ae9d2 100644
--- a/lib/am/check.am
+++ b/lib/am/check.am
@@ -236,10 +236,12 @@ check-TESTS:
## we rely on .PHONY to work portably.
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
        @list='$(TEST_LOGS)';                                           \
-       list=`for f in $$list; do                                       \
-         test .log = $$f || echo $$f;                                  \
-       done | tr '\012\015' '  '`;                                     \
-       $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
+       { echo "TEST_LOGS = ";                                                \
+         for f in $$list; do                                           \
+           test .log = $$f || echo $$f;                                \
+         done;                                                         \
+       } | { tr '\012\015' '  '; echo; }                               \
+         | $(MAKE) -f Makefile -f - $(AM_MAKEFLAGS) $(TEST_SUITE_LOG)

AM_RECURSIVE_TARGETS += check



--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]