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)
commitd5719921a8968f5dc21149020450cca9b3d6c646
treef7bee4c1a79e482374a09faa12e258b9d53d5ffe
parenteb27c9e478700f489d3831fbfa9595959b761306
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.
tests/local.mk