diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2015-03-19 21:09:42 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2015-03-19 21:51:59 +0000 |
commit | b367c45de1e716917350f403e8cac1658767f7a6 (patch) | |
tree | 561448b746a3d7fbceafa6c0fb33261b2ec06007 /cpan | |
parent | 18391b266d7c701eef1760fa9fddfc3e43ebcfcd (diff) | |
download | perl-b367c45de1e716917350f403e8cac1658767f7a6.tar.gz |
Upgrade parent from version 0.228 to 0.232
Diffstat (limited to 'cpan')
-rw-r--r-- | cpan/parent/lib/parent.pm | 2 | ||||
-rw-r--r-- | cpan/parent/t/parent-pmc.t | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/cpan/parent/lib/parent.pm b/cpan/parent/lib/parent.pm index b31603b90d..445ed125e9 100644 --- a/cpan/parent/lib/parent.pm +++ b/cpan/parent/lib/parent.pm @@ -1,7 +1,7 @@ package parent; use strict; use vars qw($VERSION); -$VERSION = '0.228'; +$VERSION = '0.232'; sub import { my $class = shift; diff --git a/cpan/parent/t/parent-pmc.t b/cpan/parent/t/parent-pmc.t index 851a438fd3..a8708b42ba 100644 --- a/cpan/parent/t/parent-pmc.t +++ b/cpan/parent/t/parent-pmc.t @@ -13,8 +13,18 @@ use Config; use lib 't/lib'; plan skip_all => ".pmc are only available with 5.6 and later" if $] < 5.006; +my $no_pmc; + +if (Config->can('non_bincompat_options')) { + foreach(Config::non_bincompat_options()) { + if($_ eq "PERL_DISABLE_PMC"){ + $no_pmc = 1; + last; + } + } +}; plan skip_all => ".pmc are disabled in this perl" - if $Config{ccflags} =~ /(?<!\w)-DPERL_DISABLE_PMC\b/; + if $no_pmc; plan tests => 3; use vars qw($got_here); |