skip t/win32/runenv.t unless -DPERL_IMPLICIT_SYS
authorRicardo Signes <rjbs@cpan.org>
Tue, 15 May 2012 00:15:59 +0000 (20:15 -0400)
committerRicardo Signes <rjbs@cpan.org>
Tue, 15 May 2012 01:12:52 +0000 (21:12 -0400)
this test fails without PERL_IMPLICIT_SYS, as reported by Steve
Hay in <CADED=K4EqXkJa2uC13wVYY_=uGDCx=uQ_rXu3Me4+3FvVM8D+g@mail.gmail.com>

t/win32/runenv.t

index ca224de..a833c1a 100644 (file)
@@ -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';