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

Re: subversion client test suite

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2001-03-07 23:09:11 CET

On Wed, 7 Mar 2001, Lee Burgess wrote:

> > I say we add some kind of very simple memory tracing functions.
>
> I would like to see what Karl and Ben think about this. Offhand, it
> sounds to me like you are really talking about functions internal to the
> client to be called by a command line (--mem-debug or --mem-trace)
> switch?

Well, since they would probably be dependent on a special define, they don't
even have to be controlled by command line options but instead do things by
default or be controlled by environment variables. It doesn't really matter
how it is controlled. My point is the functionality and that it is only there
when SVN_RESOURCE_DEBUG is defined. Of course, we should decide once and for
all how things like this is best added (if at all).

I've personally written this kind of stuff for an different open source
library I tend to hack on, and it has helped me a lot.

> So part of the test suite I will be writing can certainly parse the
> output log files of this debug mode. On the other hand, the actual
> tracing functions need to be coded and included in the client itself, not
> the test suite.
>
> Am I understanding you correctly, Daniel?

You certainly do.

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Sat Oct 21 14:36:25 2006

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