Git.pm: assorted build related fixes.
[git.git] / t / Makefile
blob632c55f6d5d66c8e39e213284e163a23b32c2260
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 "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
24 clean:
25 rm -fr trash
27 .PHONY: $(T) clean
28 .NOTPARALLEL: