3 # Copyright (c) 2005 Junio C Hamano
6 -include ..
/config.mak.autogen
9 #GIT_TEST_OPTS=--verbose --debug
10 SHELL_PATH ?
= $(SHELL
)
15 SHELL_PATH_SQ
= $(subst ','\'',$(SHELL_PATH))
17 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
18 TSVN = $(wildcard t91[0-9][0-9]-*.sh)
21 $(MAKE) aggregate-results-and-cleanup
24 @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ
)' $@ $(GIT_TEST_OPTS)
30 $(RM) -r 'trash directory
'.* test-results
31 $(RM) t????/cvsroot/CVSROOT/?*
34 aggregate-results-and-cleanup: $(T)
35 $(MAKE) aggregate-results
39 for f in test-results/t*-*; do \
41 done | '$(SHELL_PATH_SQ
)' ./aggregate-results.sh
43 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
45 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
46 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
49 GIT_TEST_OPTS=--valgrind $(MAKE)
51 .PHONY: pre-clean $(T) aggregate-results clean valgrind