t / Makefileon commit Merge branch 'maint' (efe2c9e)
   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)
  14TSVN = $(wildcard t91[0-9][0-9]-*.sh)
  15
  16all: $(T) clean
  17
  18$(T):
  19        @echo "*** $@ ***"; GIT_CONFIG=.git/config '$(SHELL_PATH_SQ)' $@ $(GIT_TEST_OPTS)
  20
  21clean:
  22        rm -fr trash
  23
  24# we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
  25full-svn-test:
  26        $(MAKE) $(TSVN) GIT_SVN_NO_LIB=0 GIT_SVN_DELTA_FETCH=1 \
  27                                        GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
  28        $(MAKE) $(TSVN) GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
  29        $(MAKE) $(TSVN) GIT_SVN_NO_LIB=1 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
  30                                                        LC_ALL=en_US.UTF-8
  31        $(MAKE) $(TSVN) GIT_SVN_NO_LIB=0 GIT_SVN_NO_OPTIMIZE_COMMITS=0 \
  32                                                        LC_ALL=en_US.UTF-8
  33
  34.PHONY: $(T) clean
  35.NOTPARALLEL:
  36