git-svn: pass an unambiguous ref to rev-list when grafting-branches
[git/jnareb-git.git] / t / Makefile
blob19e38508a70708b78de6467df71ed36373999d6a
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)
14 TSVN = $(wildcard t91[0-9][0-9]-*.sh)
16 all: $(T) clean
18 $(T):
19 @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
21 clean:
22 rm -fr trash
24 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
25 full-svn-test:
26 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
27 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
29 .PHONY: $(T) clean
30 .NOTPARALLEL: