On Sat, Sep 22, 2001 at 07:07:39PM +0100, Nick Ing-Simmons wrote:
> ExtUtils::Command should work most places, it is _needed_ on Win32
> as MakeMaker uses it to do equivalent of various UNIX commands (poor
> mans PPT).  But as far as I know it should work anywhere perl does.

Poking around a little, it seems MM_Unix makes use of
ExtUtils::Command, and also MM_NW5.

So it seems we've got to test it on Netware and Unixen at least.
Unfortunately, MakeMaker pretty much defines Unixen as "that which is
not anything else".  So either can duplicate the MakeMaker selection
logic in the test, or we can just test NetWare.

For the moment, let's just test NetWare.  Serious MakeMaker mucking is
not something I want to get into this late a date.  If anyone wants to
try anything more serious, do it on [EMAIL PROTECTED] with the CPAN
alpha.

--- lib/ExtUtils/Command.t      2001/09/22 22:55:10     1.1
+++ lib/ExtUtils/Command.t      2001/09/22 22:56:00
@@ -9,12 +9,13 @@
        File::Path::rmtree( 'ecmddir' );
 }
 
+use Config;
 use Test::More tests => 21;
 use File::Spec;
 
 SKIP: {
        skip( 'ExtUtils::Command is a Win32 module', 21 )
-           unless $^O =~ /Win32/;
+           unless $^O =~ /Win32/ || $Config{osname} eq 'NetWare';
 
        use vars qw( *CORE::GLOBAL::exit );
 



-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <[EMAIL PROTECTED]>       Kwalitee Is Job One
You see, in this world there's two kinds of people.  Those with loaded
guns, and those who dig.  Dig.
                -- Blonde, "The Good, The Bad And The Ugly"

Reply via email to