File: pod-coverage.t

package info (click to toggle)
lintian 2.128.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 70,396 kB
  • sloc: perl: 46,006; javascript: 9,151; makefile: 4,054; sh: 3,044; ansic: 705; xml: 451; python: 91; java: 15; cpp: 9; tcl: 4; lisp: 3
file content (30 lines) | stat: -rwxr-xr-x 640 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;

use Test::Lintian;

plan skip_all => 'Not needed for coverage of Lintian'
  if $ENV{'LINTIAN_COVERAGE'};

plan skip_all => 'Test::Pod::Coverage 1.08 required for this test'
  unless eval 'use Test::Pod::Coverage 1.08; 1';

load_profile_for_test;

# exempt checks and screens
my @modules = grep { !/^Lintian::(?:Check|Screen)::/ } all_modules('lib');

plan tests => scalar @modules;

pod_coverage_ok($_, { coverage_class => 'Pod::Coverage::TrustPod' })
  for @modules;

# Local Variables:
# indent-tabs-mode: nil
# cperl-indent-level: 4
# End:
# vim: syntax=perl sw=4 sts=4 sr et