In article <[EMAIL PROTECTED]>, Michael G Schwern
<[EMAIL PROTECTED]> wrote:
> On Tue, Aug 20, 2002 at 04:46:18PM -0400, _brian_d_foy wrote:
> > The new test_harness wrapper sorts the order of tests again. can we
> > remove that?
> If you can figure a way to keep the default behavior and let people override
> the order and not have the resulting 'make test' shell command be enormous,
> patch it.
along with my other patch, this gives you the explicit sorting and also allows
the module other to play with the 'test' key to WriteMakefile.
--- MM_Unix.pm-dist Wed Aug 21 09:34:09 2002
+++ MM_Unix.pm Wed Aug 21 09:33:24 2002
@@ -1109,7 +1109,7 @@
sub find_tests {
my($self) = shift;
- return "t/*.t";
+ return join " ", sort { lc $a <=> lc $b } glob "t/*.t";
}
=back