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

Re: Test cases broken when builddir != srcdir

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-11-16 01:14:12 CET

The whole "srcdir" file concept is really bogus... We should be passing the
source directory on the command line. Apps that don't want it should ignore
it. I had coded this at some point, but then somebody ripped it out. It
really should go back in.

I really dislike "dropping something off and picking it up from elsewhere."
Whether that applies to dropping values into a global variable, into the
uesrdata on a pool, or into a file in the filesystem. It introduces control
flow dependencies that are non-obvious and error prone.

Mike's point about not being able to run some of the tests without a
'srcdir' file are quite valid. And that problem is going to keep happening
because people aren't going to know about this magic little file.

I see no reason that we can't pass a source directory on the command line.
Or more specifically, the location of the input test data.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:48 2006

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