Skip executable Cygwin test in EUMM when in core
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Thu, 1 Dec 2011 11:23:41 +0000 (11:23 +0000)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Thu, 1 Dec 2011 11:23:41 +0000 (11:23 +0000)
Change has been upstreamed as:

<https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/commit/d0172d0f>

cpan/ExtUtils-MakeMaker/t/MM_Cygwin.t

index 9640ac7..b518c8c 100644 (file)
@@ -115,8 +115,10 @@ SKIP: {
 }
 
 # Our copy of Perl (with a unix-path) should always be executable.
-ok(MM->maybe_command($Config{perlpath}), qq{'$Config{perlpath}' should be executable});
-
+SKIP: {
+  skip "The Perl may not be installed yet when in core" if $ENV{PERL_CORE};
+  ok(MM->maybe_command($Config{perlpath}), qq{'$Config{perlpath}' should be executable});
+}
 
 package FakeOut;