1 # Run tests
2 #
3 # Copyright (c) 2005 Junio C Hamano
4 #
6 #GIT_TEST_OPTS=--verbose --debug
7 SHELL_PATH ?= $(SHELL)
8 TAR ?= $(TAR)
10 # Shell quote;
11 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
13 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
15 ifdef NO_PYTHON
16 GIT_TEST_OPTS += --no-python
17 endif
19 all: $(T) clean
21 $(T):
22 @echo "*** $@ ***"; '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
24 clean:
25 rm -fr trash
27 .PHONY: $(T) clean
28 .NOPARALLEL: