[qmtest] Prerequisite tests problems
Mark Mitchell
mark at codesourcery.com
Fri Aug 2 16:24:09 UTC 2002
--On Thursday, August 01, 2002 04:20:58 PM +0400 Vladimir Prus
<ghost at cs.msu.su> wrote:
>
> Hello,
> I've trying to specify a test called "history.empty_main" as prerequisite
> for "time.empty_main" and cannot. The list of possible to in
> prerequisite adding dialog includes only time* tests and when I try
> "history.empty_main" manually, it results in message
>
> KeyError: history.empty_main
>
> in the console, and test is simply not run -- without no messages in the
> gui.
That is definitely a bug.
> Is is possible to specify prerequisite tests from different directory,
> and how?
I've done a little research on this, and it looks like this was an
intentional design choice. The idea was that if you could choose as
a prerequisite a test from outside the current directory tree, then
it would be hard to move directories around -- you might move the
directory and lose a prerequisite.
I'm not sure how compelling of a reason that is. What do you think?
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the qmtest
mailing list