From: Junio C Hamano Date: Fri, 5 Nov 2010 18:52:51 +0000 (-0700) Subject: Merge branch 'mg/make-prove' into next X-Git-Tag: ko-next~157 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ec4f8062e4a3dd78f6d4fff1984d1eee4195d529;p=git.git Merge branch 'mg/make-prove' into next * mg/make-prove: test: allow running the tests under "prove" --- ec4f8062e4a3dd78f6d4fff1984d1eee4195d529 diff --cc t/Makefile index 7aa409ab6,2b4d4ac90..73c6ec473 --- a/t/Makefile +++ b/t/Makefile @@@ -17,11 -19,16 +19,17 @@@ SHELL_PATH_SQ = $(subst ','\'',$(SHELL_ T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) TSVN = $(wildcard t91[0-9][0-9]-*.sh) +TGITWEB = $(wildcard t95[0-9][0-9]-*.sh) - all: pre-clean + all: $(DEFAULT_TEST_TARGET) + + test: pre-clean $(MAKE) aggregate-results-and-cleanup + prove: pre-clean + @echo "*** prove ***"; GIT_CONFIG=.git/config $(PROVE) --exec '$(SHELL_PATH_SQ)' $(GIT_PROVE_OPTS) $(T) :: $(GIT_TEST_OPTS) + $(MAKE) clean + $(T): @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)