Skip to content

Commit

Permalink
Fix for Cygwin tests when in core
Browse files Browse the repository at this point in the history
The perl executable has a high likelihood of not being installed
yet, so skip this test when in PERL_CORE
  • Loading branch information
bingos committed Dec 1, 2011
1 parent c6a1f63 commit d0172d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/MM_Cygwin.t
Expand Up @@ -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;

Expand Down

0 comments on commit d0172d0

Please sign in to comment.