[qmtest] Nonrecursive behaviour

Vladimir Prus ghost at cs.msu.su
Thu Aug 8 09:03:23 UTC 2002


Mark Mitchell wrote:
> --On Wednesday, August 07, 2002 04:13:11 PM +0400 Vladimir Prus
>
> <ghost at cs.msu.su> wrote:
> > Is there a way to make "qmtest run" operate nonrecursively?
> > I.e. I want it to execute all tests in "time" directory but not in any
> > subdirectories of "time".
>
> No, there's no way to do that.
>
> It might be a good idea to add something along these lines, but I'm not
> sure quite what.

Hmm... maybe just "--nonrecursive" comand line option, with an obvious(?) 
semantics?

> To some extent, this indicates that you're not using subdirectories as
> they were intended, I suppose...

Can't agree. Originally there were no directories under "time", only tests. 
Later, some directories were added with many tests. But still I want to run 
tests in "test" only, just to catch bugs early without waiting for a long 
time. Those tests can be seen as "minimal" testsuite. 

You can argue that if I constantly want to bypass a set of tests then the 
tests are poorly designed, but ...  if I'm sure that 10% of tests will catch 
most blunders I make, I'd prefer to run all tests only before comitting.

- Volodya



More information about the qmtest mailing list