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

Re: MAC OSX stack trace, please, for commit-tests.py 59

From: Philip Martin <philip_at_codematters.co.uk>
Date: Fri, 17 Jul 2009 12:13:20 +0100

Stefan Sperling <stsp_at_elego.de> writes:

> can you run the same for merge_test 56 (or show me how you run svn
> tests in valgrind)? I suspect that test may have similar problems.

The way I do it is to manually edit the subversion/svn/svn libtool
script after the build:

--- svn.orig 2009-07-17 12:10:25.000000000 +0100
+++ svn 2009-07-17 10:42:44.000000000 +0100
@@ -133,7 +133,7 @@
     if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
       # Run the actual program with our arguments.
 
- exec "$progdir/$program" ${1+"$@"}
+ exec valgrind -q "$progdir/$program" ${1+"$@"}
 
       $ECHO "$0: cannot exec $program $*" 1>&2
       exit 1

Then you run the regression tests as normal.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2372021
Received on 2009-07-17 13:13:49 CEST

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