summaryrefslogtreecommitdiff
path: root/t/win32
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2012-05-14 20:15:59 -0400
committerRicardo Signes <rjbs@cpan.org>2012-05-14 21:12:52 -0400
commit28b4adf49a0f5dfd3618561f229d1f60e20fd3dd (patch)
treef05af86cd4915ef31e7c08657deeeeb49c9f0e2a /t/win32
parenta5bed8371aed7057b6c4cf1084b0dc96e1abe33b (diff)
downloadperl-28b4adf49a0f5dfd3618561f229d1f60e20fd3dd.tar.gz
skip t/win32/runenv.t unless -DPERL_IMPLICIT_SYS
this test fails without PERL_IMPLICIT_SYS, as reported by Steve Hay in <CADED=K4EqXkJa2uC13wVYY_=uGDCx=uQ_rXu3Me4+3FvVM8D+g@mail.gmail.com>
Diffstat (limited to 't/win32')
-rw-r--r--t/win32/runenv.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/win32/runenv.t b/t/win32/runenv.t
index ca224ded93..a833c1a0f6 100644
--- a/t/win32/runenv.t
+++ b/t/win32/runenv.t
@@ -23,6 +23,9 @@ BEGIN {
require './test.pl';
}
+skip_all "requires compilation with PERL_IMPLICIT_SYS"
+ unless $Config{ccflags} =~/(?:\A|\s)-DPERL_IMPLICIT_SYS\b/;
+
plan tests => $::tests;
my $PERL = $ENV{PERL} || '.\perl';