[qmtest] Finding test db location from tests

Vladimir Prus ghost at cs.msu.su
Fri Oct 18 13:14:37 UTC 2002


Mark Mitchell 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?

Yes, this works precisely as I'd like. Thanks!

- Volodya




More information about the qmtest mailing list