File: pod.t

package info (click to toggle)
libdevel-symdump-perl 2.18-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 168 kB
  • sloc: perl: 788; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- mode: cperl -*-

BEGIN {
    $|++;
    unless ($ENV{AUTHOR_TEST}) {
        $|=1;
        print "1..0 # SKIP test only run when envariable AUTHOR_TEST is set\n";
        eval "require POSIX; 1" and POSIX::_exit(0);
        exit;
    }
}

use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
all_pod_files_ok();