summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-07-16 00:11:07 +0200
committerMathieu Lirzin <mthl@gnu.org>2017-07-16 00:53:51 +0200
commit8555e7b81d0d68e1e8105d072d69b94788953e15 (patch)
tree74dca10aea7e2ab412a34b0c7c7b1c05034a1d38
parent3126fa4c6b69c043e20af9381563069c0f2a0ba0 (diff)
downloadautomake-8555e7b81d0d68e1e8105d072d69b94788953e15.tar.gz
check: Make 'check-TESTS' target depend on test dependencies
The 'check' and 'recheck' targets are already depending on the progams and scripts required to run the test suite. The 'check-TESTS' target while not in the public API might be used by uninformed users, so it makes sense to add the same dependency to it. This fixes bug#27186. * lib/am/check.am [!%?SERIAL_TESTS%] (check-TESTS): Add dependency to '%CHECK_DEPS%'. * THANKS: Update.
-rw-r--r--THANKS1
-rw-r--r--lib/am/check.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/THANKS b/THANKS
index 373364914..9bc7542af 100644
--- a/THANKS
+++ b/THANKS
@@ -289,6 +289,7 @@ Nathanael Nerode neroden@twcny.rr.com
Nelson H. F. Beebe beebe@math.utah.edu
Nicholas Wourms nwourms@netscape.net
Nick Bowler nbowler@elliptictech.com
+Nick Brown brownn@brocade.com
Nicola Fontana ntd@entidi.it
Nicolas Joly njoly@pasteur.fr
Nicolas Thiery nthiery@Icare.mines.edu
diff --git a/lib/am/check.am b/lib/am/check.am
index 741a5c0f0..ff174191d 100644
--- a/lib/am/check.am
+++ b/lib/am/check.am
@@ -401,7 +401,7 @@ RECHECK_LOGS = $(TEST_LOGS)
## Running all tests, or rechecking failures. ##
## ------------------------------------------ ##
-check-TESTS:
+check-TESTS: %CHECK_DEPS%
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
## We always have to remove $(TEST_SUITE_LOG), to ensure its rule is run