On Wed, Dec 15, 2004 at 10:27:02AM -0000, Nathan Haigh wrote: > When I try running 'nmake test' on the Bioperl module I get a line too long > error message (shown in full at the bottom). However, I > get this message with nmake v1.50 but not with v6. 00.8168.0, which runs the > tests ok. I had previously read about OS's which have a > limit of the number of characters that are able to be passed on the command > line and assumed ExtUtils-MakeMaker 6.06 or later > would/should have fixed this with the split_command sub. However, there must > be some difference in the way that nmake 1.50 and 6.0 > deal with this. But since 1.5 is the one that most windows users have, it > would make sense to try and deal within > ExtUtils-MakeMaker.
Yep, that's a 2800 character command there. MakeMaker does try to be good about splitting up long commands but I never expected tests to be one of those places. I'm not even sure how to split it up, test_harness() should be run in one command. The problem is the Win9x shell (or nmake or whatever's handling the commands) does not expand globs (as far as I know) so I have to spell it out for it on the command line. The only thing I can think of is writing the list of files out to a file and having test_harness() read it back in. Yuck. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ Playstation? Of course Perl runs on Playstation. -- Jarkko Hietaniemi
