In article <[EMAIL PROTECTED]>, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 20, 2002 at 04:46:18PM -0400, _brian_d_foy wrote: > > i like to decide the order of tests myself, and the 'test' target of > > WriteMakefile makes that possible prior to MakeMaker-6.x. > How were you doing it? Using TEST_FILES? yep, since that's the argument to test_manifest() in the Makefile. > > The new test_harness wrapper sorts the order of tests again. can we > > remove that? > By default 'make test' has to run the tests in sorted order. Lots of > modules rely on this. In 5.X it was done by coincidence, since t/*.t > produces a sorted list of files in most shells, 6.X does it explicitly. the old behavior depended on whatever order t/*.t produced, which is what you still get if you don't sort them in test_manifest. where does this break so that you had to order them in test_harness()? > 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. we could just populate TEST_FILES with the files to test in whatever you want the default order to be. if we want to get really fancy, we could even allow the 'test' target to WriteMakefile() take a sort subroutine. :)
