diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-01-22 11:16:06 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-01-22 12:18:24 +0100 |
commit | e9b44d82fd9d4d55223f11a4fff011c2c7036175 (patch) | |
tree | bdab1ffe94668fde18a9eb3f60a77c53f2b2f62f /lib/am | |
parent | 4e1ab202ca72822803463aa71e676b938210f0f5 (diff) | |
download | automake-e9b44d82fd9d4d55223f11a4fff011c2c7036175.tar.gz |
Add comment to check-TESTS rule working around make 3.80 bug.
* lib/am/check.am (check-TESTS): Update comment.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'lib/am')
-rw-r--r-- | lib/am/check.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/am/check.am b/lib/am/check.am index 572808143..4d10ce901 100644 --- a/lib/am/check.am +++ b/lib/am/check.am @@ -235,6 +235,10 @@ check-TESTS: ## OTOH, this means that, in the rule for `$(TEST_SUITE_LOG)', we ## cannot use `$?' to compute the set of lazily rerun tests, lest ## we rely on .PHONY to work portably. +## +## Trailing whitespace in `TESTS = foo.test $(empty)' causes GNU make +## 3.80 to erroneously expand $(TESTS_LOGS) to `foo.log .log'. +## Work around this bug. @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @list='$(TEST_LOGS)'; \ list=`for f in $$list; do \ |