X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2FMakefile;h=ba6ddbec976f2ea0e4808d6549f93270e0c2b676;hb=cbfb73d73f272f194bafa70d5be1f35abc265c79;hp=5c76afff83087ee4d6324699f7ba376c18201716;hpb=72e5890b68e7199d92620d3bba91fa36dd259404;p=git.git diff --git a/t/Makefile b/t/Makefile index 5c76afff..ba6ddbec 100644 --- a/t/Makefile +++ b/t/Makefile @@ -15,9 +15,18 @@ shellquote = '$(call shq,$(1))' T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) -all: - @$(foreach t,$T,echo "*** $t ***"; $(call shellquote,$(SHELL_PATH)) $t $(GIT_TEST_OPTS) || exit; ) - @rm -fr trash +ifdef NO_PYTHON + GIT_TEST_OPTS += --no-python +endif + +all: $(T) clean + +$(T): + @echo "*** $@ ***"; $(call shellquote,$(SHELL_PATH)) $@ $(GIT_TEST_OPTS) clean: rm -fr trash + +.PHONY: $(T) clean +.NOPARALLEL: +