X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2FMakefile;h=e71da7782ecce282a2c0098cc1d10d2171a5a954;hb=17222001273b817aa9655744a0033619134b1a2c;hp=198c5eda7c76f2059ce96ad471cd059cb27867f9;hpb=e1970ce43abfbf625bce68516857e910748e5965;p=git.git diff --git a/t/Makefile b/t/Makefile index 198c5eda..e71da778 100644 --- a/t/Makefile +++ b/t/Makefile @@ -2,14 +2,16 @@ # # Copyright (c) 2005 Junio C Hamano # -#OPTS=--verbose --debug -OPTS= + +#GIT_TEST_OPTS=--verbose --debug +SHELL_PATH ?= $(SHELL) +TAR ?= $(TAR) T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh) -all:: - @$(foreach t,$T,echo "*** $t ***"; sh $t $(OPTS) || exit; ) - rm -fr trash +all: + @$(foreach t,$T,echo "*** $t ***"; $(SHELL_PATH) $t $(GIT_TEST_OPTS) || exit; ) + @rm -fr trash -clean:: +clean: rm -fr trash