From: Jim Meyering Date: Tue, 4 Sep 2012 10:12:19 +0000 (+0200) Subject: tests: depend on the programs we're testing X-Git-Tag: v8.20~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5719921a8968f5dc21149020450cca9b3d6c646;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/local.mk b/tests/local.mk index b129475fbd..2440667517 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)