summaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-04 12:12:19 +0200
committerJim Meyering <meyering@redhat.com>2012-09-05 08:48:30 +0200
commitd5719921a8968f5dc21149020450cca9b3d6c646 (patch)
treef7bee4c1a79e482374a09faa12e258b9d53d5ffe /tests/local.mk
parenteb27c9e478700f489d3831fbfa9595959b761306 (diff)
downloadcoreutils-d5719921a8968f5dc21149020450cca9b3d6c646.tar.xz
tests: depend on the programs we're testing
* tests/local.mk ($(TEST_LOGS)): Depend on $(PROGRAMS), so that tests are rerun when any program is rebuilt. Technically, we could specify precisely which few programs are dependents of each test, but that can come later, if deemed worth the trouble and maintenance burden. Also, there is the issue of the primary program(s) being tested (i.e., those itemized via print_ver_) versus those that are tested incidentally: for example, nearly every test exercises "rm" when its clean-up code removes files.
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
index b129475fb..244066751 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -784,3 +784,5 @@ pr_data = \
tests/pr/ttb3-0FF \
tests/pr/ttb3-FF \
tests/pr/w72l24f-ll
+
+$(TEST_LOGS): $(PROGRAMS)