@matheusbsbs / matheus-bagliano / commits / 7f6fdea119
Fork 0

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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Feb 4, 2009 at 00:26 UTC 7f6fdea1198cd7599c25cf9435df8540e9378a15
1 file changed +4 -1
t/Makefile
+4 -1
@@ -38,4 +38,7 @@ full-svn-test:
38 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=1 LC_ALL=C
39 $(MAKE) $(TSVN) GIT_SVN_NO_OPTIMIZE_COMMITS=0 LC_ALL=en_US.UTF-8
40
41 -.PHONY: pre-clean $(T) aggregate-results clean
41 +valgrind:
42 + GIT_TEST_OPTS='--valgrind -v --tee' $(MAKE) -k
43 +
44 +.PHONY: pre-clean $(T) aggregate-results clean valgrind