diff: support custom callbacks for output
[git/kirr.git] / t / Makefile
blob89835093fbadf3c55cdf42f7490c6bac98ef2553
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 ifdef NO_PYTHON
17 GIT_TEST_OPTS += --no-python
18 endif
20 all: $(T) clean
22 $(T):
23 @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
25 clean:
26 rm -fr trash
28 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
29 full-svn-test:
30 $(MAKE) $(TSVN) GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
31 $(MAKE) $(TSVN) GIT_SVN_NO_LIB=0 GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
32 $(MAKE) $(TSVN) GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
33 LC_ALL=en_US.UTF-8
34 $(MAKE) $(TSVN) GIT_SVN_NO_LIB=0 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
35 LC_ALL=en_US.UTF-8
37 .PHONY: $(T) clean
38 .NOTPARALLEL: