chiark / gitweb /
test suite: editing a test script overrides DGIT_TESTS_PROGRESSIVE.
[dgit.git] / tests / Makefile
index d6f78dc..88bc0a0 100644 (file)
@@ -7,9 +7,9 @@ TESTSCRIPTS ?= $(shell tests/enumerate-tests)
 TESTNAMES := $(notdir $(TESTSCRIPTS))
 
 all: $(foreach t,$(TESTNAMES),tests/tmp/$t.ok)
-       @echo "ALL PASSED"
+       @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
@@ -21,3 +21,4 @@ else
                echo >&2 "[$$retry] $* TEST FAILED $$rc";               \
        done; exit $$rc
 endif
+       @touch $@