[qmtest] Finding test db location from tests
Mark Mitchell
mark at codesourcery.com
Thu Oct 17 21:39:00 UTC 2002
--On Tuesday, October 08, 2002 08:32:37 PM +0400 Vladimir Prus
<ghost at cs.msu.su> wrote:
>
> I've posted this question some time ago, but nothing was decided, so I'm
> trying again. I would like to be able to find the location of test db in
> test's 'run' method. I need it in order to appropriately set search
> paths, find binaries in the working copy, etc. That is, I want to test
> binary located in $(tdb_location)/../bin, etc.
I've checked in patches on the mainline sources that given every test
class access to a "GetDatabase" method that can be used to locate the
test database. Would you mind trying that out and seeing if it works
for you?
Thanks,
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the qmtest
mailing list