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