1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# -*- perl -*-
use strict;
use warnings;
use Test::More;
BEGIN {
plan skip_all => 'done_testing requires Test::More 0.88' if Test::More->VERSION < 0.88;
plan skip_all => 'This test is only run for the module author'
unless -d '.git' || $ENV{IS_MAINTAINER};
}
eval "use Test::Pod::Coverage 1.04";
plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage"
if $@;
for (all_modules()) {
if ($^O eq 'MSWin32') {
pod_coverage_ok($_) unless /Filter::(decrypt|m4)/;
} else {
pod_coverage_ok($_) unless /Filter::decrypt/;
}
}
done_testing;
|