2012-06-22 11:38:01 +02:00
|
|
|
#!perl
|
|
|
|
|
|
|
|
use Test::More;
|
|
|
|
|
2013-04-21 06:52:07 +02:00
|
|
|
if (!$ENV{'QPSMTPD_DEVELOPER'}) {
|
2012-06-22 11:38:01 +02:00
|
|
|
plan skip_all => "not a developer, skipping POD tests";
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
|
|
|
|
eval "use Test::Pod 1.14";
|
2013-04-21 06:52:07 +02:00
|
|
|
if ($@) {
|
2012-06-22 11:38:01 +02:00
|
|
|
plan skip_all => "Test::Pod 1.14 required for testing POD";
|
|
|
|
exit;
|
2013-04-21 06:52:07 +02:00
|
|
|
}
|
2012-06-22 11:38:01 +02:00
|
|
|
|
|
|
|
my @poddirs = qw( lib plugins );
|
2013-04-21 06:52:07 +02:00
|
|
|
all_pod_files_ok(all_pod_files(@poddirs));
|
2012-06-22 11:38:01 +02:00
|
|
|
done_testing();
|