chiark / gitweb /
test suite: editing a test script overrides DGIT_TESTS_PROGRESSIVE.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 3 Aug 2018 06:31:09 +0000 (07:31 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 3 Aug 2018 06:31:11 +0000 (07:31 +0100)
By making the script a dependency of the .ok stamp file.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
tests/Makefile

index 70e21d5..cb9f3df 100644 (file)
@@ -1,6 +1,7 @@
 dgit (6.5~) unstable; urgency=medium
 
   * test suite: Add t-tstunt-parsechangelog to many gdr tests.
+  * test suite: editing a test script overrides DGIT_TESTS_PROGRESSIVE.
 
  --
 
index 8494284..88bc0a0 100644 (file)
@@ -9,7 +9,7 @@ TESTNAMES := $(notdir $(TESTSCRIPTS))
 all: $(foreach t,$(TESTNAMES),tests/tmp/$t.ok)
        @echo "ALL PASSED$${DGIT_TESTS_PROGRESSIVE+ AT SOME POINT}"
 
-tests/tmp/%.ok:
+tests/tmp/%.ok: tests/tests/%
 ifeq ($(DGIT_TEST_RETRY_COUNT),)
        tests/tests/$* >tests/tmp/$*.log 2>&1
 else