1# Run tests
2#
3# Copyright (c) 2005 Junio C Hamano
4#
56
#GIT_TEST_OPTS=--verbose --debug
7SHELL_PATH ?= $(SHELL)
8TAR ?= $(TAR)
910
# Shell quote;
11SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
1213
T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
1415
ifdef NO_PYTHON
16GIT_TEST_OPTS += --no-python
17endif
1819
all: $(T) clean
2021
$(T):
22@echo "*** $@ ***"; '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
2324
clean:
25rm -fr trash
2627
.PHONY: $(T) clean
28.NOPARALLEL:
29