[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automake 1.11.1 glitch?
From: |
Stefano Lattarini |
Subject: |
Re: Automake 1.11.1 glitch? |
Date: |
Tue, 7 Sep 2010 03:15:54 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
Hi Ralf.
On Monday 06 September 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?
>
> 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)
Does this works even if the developer is using, say, GNUmakefile.am instead
of Makefile.am?
Regards,
Stefano
- Re: Automake 1.11.1 glitch?, (continued)
- verbosity of test failure feedback (was: Automake 1.11.1 glitch?), Ralf Wildenhues, 2010/09/07
- Re: verbosity of test failure feedback (was: Automake 1.11.1 glitch?), Bob Friesenhahn, 2010/09/07
- Re: verbosity of test failure feedback (was: Automake 1.11.1 glitch?), Stefano Lattarini, 2010/09/07
- Re: verbosity of test failure feedback, Ralf Wildenhues, 2010/09/08
- Re: verbosity of test failure feedback, Stefano Lattarini, 2010/09/08
- Re: verbosity of test failure feedback (was: Automake 1.11.1 glitch?), Stefano Lattarini, 2010/09/07
Re: Automake 1.11.1 glitch?,
Stefano Lattarini <=
Re: Automake 1.11.1 glitch?, Bob Friesenhahn, 2010/09/06