1 ################################################################################
5 # $Date: 2007/10/13 19:07:53 +0200 $
7 ################################################################################
9 # Version 2.x, Copyright (C) 2007, Marcus Holland-Moritz <mhx@cpan.org>.
10 # Version 1.x, Copyright (C) 1999, Graham Barr <gbarr@pobox.com>.
12 # This program is free software; you can redistribute it and/or
13 # modify it under the same terms as Perl itself.
15 ################################################################################
18 if ($ENV{'PERL_CORE'}) {
20 @INC = '../lib' if -d '../lib' && -d '../ext';
23 require Test::More; import Test::More;
24 require Config; import Config;
26 if ($ENV{'PERL_CORE'} && $Config{'extensions'} !~ m[\bIPC/SysV\b]) {
27 plan(skip_all => 'IPC::SysV was not built');
35 # find all potential pod files
36 if (open F, "MANIFEST") {
37 chomp(my @files = <F>);
40 next if $f =~ /ppport/;
53 # load Test::Pod if possible, otherwise load Test::More
56 $Test::Pod::VERSION >= 0.95
57 or die "Test::Pod version only $Test::Pod::VERSION";
58 import Test::Pod tests => scalar @pods;
63 import Test::More skip_all => "testing pod requires Test::Pod";