]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: depend on the programs we're testing
authorJim Meyering <meyering@redhat.com>
Tue, 4 Sep 2012 10:12:19 +0000 (12:12 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 5 Sep 2012 06:48:30 +0000 (08:48 +0200)
* 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.

tests/local.mk

index b129475fbd9333e1b5f321246bc727ae74736433..244066751708b25b3afcf0558903958063103d28 100644 (file)
@@ -784,3 +784,5 @@ pr_data =                                   \
   tests/pr/ttb3-0FF                            \
   tests/pr/ttb3-FF                             \
   tests/pr/w72l24f-ll
+
+$(TEST_LOGS): $(PROGRAMS)