Merge branch 'master' into next
[git/gitweb.git] / t / Makefile
blobfe65f53c5fbcf07bb69214b0f0cff8aef551e906
1 # Run tests
3 # Copyright (c) 2005 Junio C Hamano
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: