[PATCH 4/3] t/Makefile: include config.mak
- From
Jeff King <peff@peff.net>
- Date
- Aug 9, 2009, 08:50 UTC
- Message-ID
- <20090809085037.GA31406@coredump.intra.peff.net>
- In-Reply-To
- <20090809083518.GA8147@coredump.intra.peff.net>
This is useful if you want to specify GIT_TEST_OPTS that you always use.
Signed-off-by: Jeff King <peff@peff.net> --- On Sun, Aug 09, 2009 at 04:35:19AM -0400, Jeff King wrote:
> [1/3] tests: use "$TEST_DIRECTORY" instead of ".." > [2/3] tests: provide $TRASH_DIRECTORY variable > [3/3] tests: allow user to specify trash directory location
I think a 4/3 like this is nice to let you use --root without extra typing each time. And when you do "cd t && make t$WHATEVER.sh GIT_TEST_OPTS='-v -i'", it will automatically be overridden, which is probably what you want, so you can inspect the failed tests in t/trash*.
t/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/t/Makefile b/t/Makefile index bf816fc..bd09390 100644 --- a/t/Makefile +++ b/t/Makefile @@ -3,6 +3,8 @@ # Copyright (c) 2005 Junio C Hamano # +-include ../config.mak + #GIT_TEST_OPTS=--verbose --debug SHELL_PATH ?= $(SHELL) TAR ?= $(TAR)
-- 1.6.4.178.g7a987