File: 04_pod_linkcheck.t

package info (click to toggle)
libpoe-perl 2%3A1.3670-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,000 kB
  • ctags: 1,416
  • sloc: perl: 22,865; makefile: 9
file content (22 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/perl -w
# vim: ts=2 sw=2 filetype=perl expandtab

# Tests POD for invalid links

use strict;
use Test::More;

BEGIN {
  unless ( $ENV{RELEASE_TESTING} ) {
    plan skip_all => 'enable by setting RELEASE_TESTING';
  }

  foreach my $req (qw(Test::Pod::LinkCheck)) {
    eval "use $req";
    if ($@) {
      plan skip_all => "$req is needed for these tests.";
    }
  }
}

Test::Pod::LinkCheck->new->all_pod_ok;