Add diff, cmp and sleep
[git/pclouds.git] / t / Makefile
blobf8e396c1081c534aee13b376dc5819c5683a4535
1 # Run tests
3 # Copyright (c) 2005 Junio C Hamano
6 #GIT_TEST_OPTS=--verbose --debug
7 SHELL_PATH ?= $(SHELL)
8 TAR ?= $(TAR)
9 RM ?= rm -f
11 # Shell quote;
12 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
14 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
15 TSVN = $(wildcard t91[0-9][0-9]-*.sh)
17 ifdef NO_SYMLINKS
18 GIT_TEST_OPTS += --no-symlinks
19 endif
21 all: $(T) clean
23 $(T):
24 @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
26 clean:
27 $(RM) -r trash
29 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
30 full-svn-test:
31 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
32 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
34 .PHONY: $(T) clean
35 .NOTPARALLEL: