1 ################################################################################
3 # !!!!! Do NOT edit this file directly! !!!!!
5 # Edit mktests.PL and/or parts/inc/podtest instead.
7 ################################################################################
10 if ($ENV{'PERL_CORE'}) {
12 @INC = ('../lib', '../ext/Devel/PPPort/t') if -d '../lib' && -d '../ext';
13 require Config; import Config;
15 if (" $Config{'extensions'} " !~ m[ Devel/PPPort ]) {
16 print "1..0 # Skip -- Perl configured without Devel::PPPort module\n";
26 require 'testutil.pl' if $@;
39 package Devel::PPPort;
42 @ISA = qw(DynaLoader);
43 bootstrap Devel::PPPort;
47 my @pods = qw( HACKERS PPPort.pm ppport.h soak devel/regenerate devel/buildperl.pl );
51 if ($ENV{'SKIP_SLOW_TESTS'}) {
52 $reason = 'SKIP_SLOW_TESTS';
55 # Try loading Test::Pod
58 $Test::Pod::VERSION >= 0.95
59 or die "Test::Pod version only $Test::Pod::VERSION";
60 import Test::Pod tests => scalar @pods;
62 $reason = 'Test::Pod >= 0.95 required' if $@;
67 plan(tests => scalar @pods);
71 print "# checking $_\n";
73 skip("skip: $reason", 0);