Skip to content

Commit

Permalink
Merge branch 'mh/test-keep-prove-cache'
Browse files Browse the repository at this point in the history
By Michael Haggerty
* mh/test-keep-prove-cache:
  t/Makefile: retain cache t/.prove across prove runs
  • Loading branch information
Junio C Hamano committed May 25, 2012
2 parents 3501b89 + 60f26f6 commit 7903e66
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,19 @@ test: pre-clean $(TEST_LINT)

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

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

pre-clean:
$(RM) -r test-results

clean:
clean-except-prove-cache:
$(RM) -r 'trash directory'.* test-results
$(RM) -r valgrind/bin

clean: clean-except-prove-cache
$(RM) .prove

test-lint: test-lint-duplicates test-lint-executable
Expand Down

0 comments on commit 7903e66

Please sign in to comment.