Skip to content

Commit 7903e66

Browse files
committed
Merge branch 'mh/test-keep-prove-cache'
By Michael Haggerty * mh/test-keep-prove-cache: t/Makefile: retain cache t/.prove across prove runs
2 parents 3501b89 + 60f26f6 commit 7903e66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

t/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,19 @@ test: pre-clean $(TEST_LINT)
2828

2929
prove: pre-clean $(TEST_LINT)
3030
@echo "*** prove ***"; GIT_CONFIG=.git/config $(PROVE) --exec '$(SHELL_PATH_SQ)' $(GIT_PROVE_OPTS) $(T) :: $(GIT_TEST_OPTS)
31-
$(MAKE) clean
31+
$(MAKE) clean-except-prove-cache
3232

3333
$(T):
3434
@echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
3535

3636
pre-clean:
3737
$(RM) -r test-results
3838

39-
clean:
39+
clean-except-prove-cache:
4040
$(RM) -r 'trash directory'.* test-results
4141
$(RM) -r valgrind/bin
42+
43+
clean: clean-except-prove-cache
4244
$(RM) .prove
4345

4446
test-lint: test-lint-duplicates test-lint-executable

0 commit comments

Comments
 (0)