summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2015-03-19 21:09:42 +0000
committerSteve Hay <steve.m.hay@googlemail.com>2015-03-19 21:51:59 +0000
commitb367c45de1e716917350f403e8cac1658767f7a6 (patch)
tree561448b746a3d7fbceafa6c0fb33261b2ec06007 /cpan
parent18391b266d7c701eef1760fa9fddfc3e43ebcfcd (diff)
downloadperl-b367c45de1e716917350f403e8cac1658767f7a6.tar.gz
Upgrade parent from version 0.228 to 0.232
Diffstat (limited to 'cpan')
-rw-r--r--cpan/parent/lib/parent.pm2
-rw-r--r--cpan/parent/t/parent-pmc.t12
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);