3 # Copyright (c) 2005 Junio C Hamano
6 #GIT_TEST_OPTS=--verbose --debug
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)
18 $(MAKE) aggregate-results-and-cleanup
21 @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ
)' $@ $(GIT_TEST_OPTS)
24 $(RM) -r test-results test-log
27 $(RM) -r 'trash directory
'.* test-results
29 aggregate-results-and-cleanup: $(T)
30 $(MAKE) aggregate-results
34 '$(SHELL_PATH_SQ
)' ./aggregate-results.sh test-results/t*-*
36 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
38 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
39 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
42 GIT_TEST_OPTS=--valgrind $(MAKE)
44 .PHONY: pre-clean $(T) aggregate-results clean valgrind
46 -include Makefile.local
48 GIT_SKIP_TESTS := $(GIT_SKIP_TESTS_LOCAL)
49 # git am does not treat absolute path to mbox file correctly
50 GIT_SKIP_TESTS += t4150.18
51 # output contains CRLF (I think)
52 GIT_SKIP_TESTS += t7401.14
53 # output contains CRLF (I think)
54 GIT_SKIP_TESTS += t7508.1[68]
55 # cannot run fake.sendmail for some reason
56 GIT_SKIP_TESTS += t9001
57 # there's a problem with GIT_DIR in
test 12 (why only there?
)
58 # needs fixups with $PWD instead of $(pwd) - tries to run rsh c
59 GIT_SKIP_TESTS
+= t9200
61 GIT_SKIP_TESTS
+= t9500