File: z_pod-coverage.t

package info (click to toggle)
libfilter-perl 1.64-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 668 kB
  • sloc: perl: 963; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (2)
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;