[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automake 1.11.1 glitch?
From: |
Ralf Wildenhues |
Subject: |
Re: Automake 1.11.1 glitch? |
Date: |
Mon, 6 Sep 2010 22:07:43 +0200 |
User-agent: |
Mutt/1.5.20 (2010-04-22) |
* 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)
AM_RECURSIVE_TARGETS += check
- Re: Automake 1.11.1 glitch?, Ralf Wildenhues, 2010/09/06
- Re: Automake 1.11.1 glitch?,
Ralf Wildenhues <=
- Re: Automake 1.11.1 glitch?, Bob Friesenhahn, 2010/09/06
- Re: Automake 1.11.1 glitch?, Stefano Lattarini, 2010/09/06
- Re: Automake 1.11.1 glitch?, Bob Friesenhahn, 2010/09/07
- Re: Automake 1.11.1 glitch?, Stefano Lattarini, 2010/09/07
- Message not available
- [SOLVED] silent5.test failure (was: Re: Automake 1.11.1 glitch?), Stefano Lattarini, 2010/09/07
- Re: [SOLVED] silent5.test failure (was: Re: Automake 1.11.1 glitch?), Bob Friesenhahn, 2010/09/07
- 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