On Sun, 24 Jun 2001, brian moseley wrote:
> On Sun, 24 Jun 2001, Stas Bekman wrote:
>
> > ok will add 'sort'. which will presort tests before
> > applying any other algorithm.
> >
> > should 'sort' be non-exclusive with 'rotate|repeat'? (it
> > won't apply to 'random' of course)
> >
> > but it gets hairy then: --run-tests[=[N][:][order][:][sort]] ?
> >
> > I'd rather have --run-tests --test_times=N --test_order=ORDER
> > --[no]test_sort? Doug?
>
> no opinion on this. whatever y'all think is best :)
>
> > shouldn't your tests be independent from each other? if
> > they are why not to put them in one test? Or have one
> > test calling a few others. what you are saying doesn't
> > sound well, but you know your requirements better :)
>
> the tests are independent, but it doesn't make sense to test
> class B if class A doesn't work, or even compile. for black
> box tests, i agree you should be able to run them in any
> order, but i definitely need sorting for lower level tests.
>
> thanks stas.
I understand. Another option would be to always sort the tests unless you
have specified their order on the command line.
o if you specify none -- everything is sorted.
o if you specify only dirs -- evething within dirs is sorted, dirs order
is preserved
o if you specify file names they aren't sorted.
o if you specify random, you get it random.
I like this option even better. You?
also you could always do:
$ ./t/TEST `echo t/*/*.t | sort`
even in Makefile
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]