[qmtest] Nonrecursive behaviour

Mark Mitchell mark at codesourcery.com
Thu Aug 8 16:35:24 UTC 2002



--On Thursday, August 08, 2002 01:03:23 PM +0400 Vladimir Prus 
<ghost at cs.msu.su> wrote:

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

Maybe.  But then you can't run some directories recursively and some
non-recursively on the same command-line.

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

One way to do that is to create a test suite.  That's the idea behind
a testsuite -- a set of tests that you want to run as a group on a
regular basis.

-- 
Mark Mitchell                mark at codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the qmtest mailing list