Merge branch 'jc/apply-whitespace'
[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 RM ?= rm -f
10
11 # Shell quote;
12 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
13
14 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
15 TSVN = $(wildcard t91[0-9][0-9]-*.sh)
16
17 all: $(T) clean
18
19 $(T):
20         @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
21
22 clean:
23         $(RM) -r 'trash directory'
24
25 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
26 full-svn-test:
27         $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
28         $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
29
30 .PHONY: $(T) clean
31 .NOTPARALLEL: