From: Johannes Schindelin Date: Tue, 3 Feb 2009 23:26:18 +0000 (+0100) Subject: t/Makefile: provide a 'valgrind' target X-Git-Tag: v1.6.3-rc0~217^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f6fdea1198cd7599c25cf9435df8540e9378a15;p=git.git t/Makefile: provide a 'valgrind' target It is easy to forget running valgrinded tests without -v, and it is also easy to forget to redirect the output to "tee" (lest the output scroll out of the terminal's buffer). Running "make valgrind" will take care of all that. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/t/Makefile b/t/Makefile index ed49c20b1..e544493d1 100644 --- a/t/Makefile +++ b/t/Makefile @@ -38,4 +38,7 @@ full-svn-test: $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8 -.PHONY: pre-clean $(T) aggregate-results clean +valgrind: + GIT_TEST_OPTS='--valgrind -v --tee' $(MAKE) -k + +.PHONY: pre-clean $(T) aggregate-results clean valgrind