2005-05-14 09:50:32 +04:00
|
|
|
# Run tests
|
|
|
|
#
|
|
|
|
# Copyright (c) 2005 Junio C Hamano
|
|
|
|
#
|
2005-05-14 19:58:22 +04:00
|
|
|
|
|
|
|
#GIT_TEST_OPTS=--verbose --debug
|
2005-09-24 23:50:29 +04:00
|
|
|
SHELL_PATH ?= $(SHELL)
|
2005-10-01 00:31:16 +04:00
|
|
|
TAR ?= $(TAR)
|
2005-05-14 09:50:32 +04:00
|
|
|
|
|
|
|
T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
|
|
|
|
|
2005-05-14 19:57:32 +04:00
|
|
|
all:
|
2005-09-24 23:50:29 +04:00
|
|
|
@$(foreach t,$T,echo "*** $t ***"; $(SHELL_PATH) $t $(GIT_TEST_OPTS) || exit; )
|
2005-05-14 19:57:32 +04:00
|
|
|
@rm -fr trash
|
2005-05-14 09:50:32 +04:00
|
|
|
|
2005-05-14 19:57:32 +04:00
|
|
|
clean:
|
2005-05-14 09:50:32 +04:00
|
|
|
rm -fr trash
|