[qmtest] Prerequisite tests problems

Vladimir Prus ghost at cs.msu.su
Mon Aug 5 07:21:11 UTC 2002


Mark Mitchell wrote:

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

I'm not compelled yet. You see, in my case the two tests "belong" to 
top-level --- moving "history.empty-main" under "time.*" would not be right. 
IOW, the fact that  "time.empty-main" depends on "history.empty-main" doesn't 
mean that "history.empty-main" has anything to do with time. 

As for moving directories around.... you can decide to move some second level 
directory to top-level and lose a prerequisite in that case. In general, I 
think moving directories is not that frequent operation, and some 
incovenience is ok.

- Volodya



More information about the qmtest mailing list