[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 4478 - trunk/subversion/libsvn_wc

From: <philip_at_codematters.co.uk>
Date: 2003-01-22 03:11:50 CET

Blair Zajac blair@orcaware.com writes:

 To make life easier for myself and anybody else who wants to run
 valgrind, I've attached a patch that modifies all of the libtool
 wrapper shell scripts to run valgrind.

I've been thinking of a Makefile rule something like

valgrind: local-all
        for i in $(VALGRIND_PROGRAMS) do;\
                sed s/exec \$$program/exec valgrind -q --trace-children=yes \\$program/ $$i $$i.tmp mv $$i.tmp $$i;\

with a novalgrind rule to reverse the substitution.

VALGRIND_PROGRAMS is a bit like TEST_PROGRAMS but without the
test-scripts (i.e. target_tests.py) and with all the type = exe
binaries (i.e. svn, svnadmin, svnversion, svnlook). I've never got
round to looking at the gen-make stuff.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:05:48 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.