[alexmv@bestpractical.com - Tue Jun 7 18:40:46 2005]:
Show quoted text> Heya,
> Attached is a patch that adds a --sorted flag to prove, to force
> tests
> to be run in ascii-betical order. This is often useful when
different
Show quoted text> OS's run return globs in differing orders, making order-dependent
> tests
> fail.
> - Alex
>
Sorted should be the default behaviour - if you don't want sorted you
can use --shuffle option.
Suggest the following patch:
*** /opt/local/perl/bin/prove Tue Jul 19 12:22:37 2005
--- /tmp/prove Fri Sep 2 11:56:35 2005
***************
*** 114,120 ****
warn "$start: $!\n";
}
! return @hits;
}
sub shuffle {
--- 114,120 ----
warn "$start: $!\n";
}
! return sort @hits;
}
sub shuffle {