print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
if (!$Config::Config{useperlio}) {
print "1..0 # Skip -- need perlio to walk the optree\n";
exit 0;
print "1..0 # Skip -- need perlio to walk the optree\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
if ($] < 5.009) {
print "1..0 # Skip -- TODO - provide golden result regexps for 5.8\n";
exit 0;
print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
require './test.pl';
}
print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
require './test.pl';
}
print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
if ($] < 5.009) {
print "1..0 # Skip -- TODO - provide golden result regexps for 5.8\n";
exit 0;
print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
require './test.pl';
}
use OptreeCheck;
print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+
+ }
require './test.pl';
}
print "1..0 # Skip -- Perl configured without B module\n";
exit 0;
}
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print
+ "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n";
+ exit 0;
+ }
require './test.pl';
}
use OptreeCheck;
if( $ENV{PERL_CORE} ) {
chdir 't' if -d 't';
unshift @INC, '../lib';
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print "1..0 # Skip: Data::Dumper was not built\n";
+ exit 0;
+ }
}
else {
unshift @INC, 't/lib';
if( $ENV{PERL_CORE} ) {
chdir 't' if -d 't';
@INC = ('../lib', 'lib');
+ require Config; import Config;
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print "1..0 # Skip: Data::Dumper was not built\n";
+ exit 0;
+ }
}
else {
unshift @INC, 't/lib';