]> git.ipfire.org Git - thirdparty/git.git/blame - t/Makefile
t9700: remove useless check
[thirdparty/git.git] / t / Makefile
CommitLineData
e1970ce4
JH
1# Run tests
2#
3# Copyright (c) 2005 Junio C Hamano
4#
d6928ebd
PB
5
6#GIT_TEST_OPTS=--verbose --debug
edde7a8b 7SHELL_PATH ?= $(SHELL)
455a7f32 8TAR ?= $(TAR)
4cb08df5 9RM ?= rm -f
e1970ce4 10
4769948a 11# Shell quote;
39c015c5 12SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
4769948a 13
e1970ce4 14T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
60d02ccc 15TSVN = $(wildcard t91[0-9][0-9]-*.sh)
e1970ce4 16
f8d5ffc2 17all: pre-clean $(T) aggregate-results clean
23fc63bf
AR
18
19$(T):
9c3796fc 20 @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
e1970ce4 21
f8d5ffc2
SR
22pre-clean:
23 $(RM) -r test-results
24
902d960b 25clean:
2d84e9fb 26 $(RM) -r 'trash directory' test-results
23fc63bf 27
f8d5ffc2 28aggregate-results:
dd33927c 29 '$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-*
f8d5ffc2 30
60d02ccc
EW
31# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
32full-svn-test:
ed92f170 33 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
b9c85187 34 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
60d02ccc 35
f8d5ffc2 36.PHONY: pre-clean $(T) aggregate-results clean
e6bfaf3e 37.NOTPARALLEL: