only test POD for developers
This commit is contained in:
parent
205120f26f
commit
77ff89d6ca
12
t/02-pod.t
12
t/02-pod.t
@ -1,8 +1,18 @@
|
|||||||
#!perl
|
#!perl
|
||||||
|
|
||||||
use Test::More;
|
use Test::More;
|
||||||
|
|
||||||
|
if ( ! $ENV{'QPSMTPD_DEVELOPER'} ) {
|
||||||
|
plan skip_all => "not a developer, skipping POD tests";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
eval "use Test::Pod 1.14";
|
eval "use Test::Pod 1.14";
|
||||||
plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
|
if ( $@ ) {
|
||||||
|
plan skip_all => "Test::Pod 1.14 required for testing POD";
|
||||||
|
exit;
|
||||||
|
};
|
||||||
|
|
||||||
my @poddirs = qw( lib plugins );
|
my @poddirs = qw( lib plugins );
|
||||||
all_pod_files_ok( all_pod_files( @poddirs ) );
|
all_pod_files_ok( all_pod_files( @poddirs ) );
|
||||||
|
done_testing();
|
||||||
|
Loading…
Reference in New Issue
Block a user