Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 8923
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: schwern [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Wed, 15 Dec 2004 18:07:29 -0500
From: Michael G Schwern <schwern [...] pobox.com>
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
Subject: Make test_harness() expand globs on Win32
Nathan Haigh reported... 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. Here are some version details: OS: WinXP Perl: 5.8.0 ExtUtils-MakeMaker: 6.24 nmake 1.50 and 6. 00.8168.0 __END__ The problem being that bioperl has a huge number of tests. On Win32 MakeMaker pre-expands the t/*.t glob. This results in a 2800 character command, something never expected. Tim Bunce suggested the obvious fix. enable test_harness() to (optionally) expand globs -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/ They laughed at Copernicus. They laughed at the Wright brothers. Yes, well, they laughed at the Marx brothers. -- Michael Shermer, "Why People Believe Weird Things"