]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
check: Make 'check-TESTS' target depend on test dependencies
authorMathieu Lirzin <mthl@gnu.org>
Sat, 15 Jul 2017 22:11:07 +0000 (00:11 +0200)
committerMathieu Lirzin <mthl@gnu.org>
Sat, 15 Jul 2017 22:53:51 +0000 (00:53 +0200)
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.

THANKS
lib/am/check.am

diff --git a/THANKS b/THANKS
index 37336491431f5a89186458b4a504c4a58d9fb291..9bc7542afae4bc27ca0ec3c27325439fce2c5ba3 100644 (file)
--- 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
index 741a5c0f04b07c0235a866c212bb60be56922315..ff174191d6fa34c2626ab3a43a90734831dfebe7 100644 (file)
@@ -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