]> git.ipfire.org Git - thirdparty/git.git/blame - t/Makefile
Don't use the 'export NAME=value' in the test scripts.
[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
23fc63bf
AR
17all: $(T) clean
18
19$(T):
9c3796fc 20 @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
e1970ce4 21
902d960b 22clean:
4cb08df5 23 $(RM) -r trash
23fc63bf 24
60d02ccc
EW
25# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
26full-svn-test:
ed92f170 27 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
b9c85187 28 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
60d02ccc 29
23fc63bf 30.PHONY: $(T) clean
e6bfaf3e 31.NOTPARALLEL: