On Tue, Mar 22, 2005 at 09:24:24AM +1100, Andrew Savige wrote: > http://www.nntp.perl.org/group/perl.perl6.compiler/413 > > 'nmake test' on the latest release of Pugs blew up under Windows with > "command line too long" (using ActiveState perl-5.8.6). > > Is there a "standard" way to fix this? What do other distributions with > vast numbers of tests do? BTW, "prove -r" does not have this command > line limit because it builds @tests and invokes T::H runtests @tests.
You use globbing instead of spelling each test out on the command line. That's a Module::Install/autrijusism. If you want to see how MakeMaker specifically deals with it see test_harness() in http://search.cpan.org/src/MSCHWERN/ExtUtils-MakeMaker-6.25_12/lib/ExtUtils/Command/MM.pm