From: Ralf Wildenhues Date: Sat, 22 Jan 2011 10:16:06 +0000 (+0100) Subject: Add comment to check-TESTS rule working around make 3.80 bug. X-Git-Tag: v1.12.0b~385 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9b44d82fd9d4d55223f11a4fff011c2c7036175;p=platform%2Fupstream%2Fautomake.git 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 --- diff --git a/ChangeLog b/ChangeLog index a11d4b9..6061224 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-22 Ralf Wildenhues + Stefano Lattarini + + Add comment to check-TESTS rule working around make 3.80 bug. + * lib/am/check.am (check-TESTS): Update comment. + 2011-01-20 Ralf Wildenhues tests: less strict double-colon spy.test again. diff --git a/lib/am/check.am b/lib/am/check.am index 5728081..4d10ce9 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 \