t / Makefileon commit git-fmt-patch: thinkofix to show [PATCH] properly. (53f420e)
   1# Run tests
   2#
   3# Copyright (c) 2005 Junio C Hamano
   4#
   5
   6#GIT_TEST_OPTS=--verbose --debug
   7SHELL_PATH ?= $(SHELL)
   8TAR ?= $(TAR)
   9
  10# Shell quote;
  11SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
  12
  13T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
  14
  15ifdef NO_PYTHON
  16        GIT_TEST_OPTS += --no-python
  17endif
  18
  19all: $(T) clean
  20
  21$(T):
  22        @echo "*** $@ ***"; '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
  23
  24clean:
  25        rm -fr trash
  26
  27.PHONY: $(T) clean
  28.NOTPARALLEL:
  29