skip POD tests unless IMAGER_AUTHOR_TESTING or AUTOMATED_TESTING is set
[imager-graph.git] / t / t91pod.t
index db41c41..13d8ce5 100644 (file)
@@ -2,6 +2,8 @@
 use strict;
 use Test::More;
 use ExtUtils::Manifest qw(maniread);
+$ENV{AUTOMATED_TESTING} || $ENV{IMAGER_AUTHOR_TESTING}
+  or plan skip_all => "POD only tested under automated or author testing";
 eval "use Test::Pod 1.00;";
 plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
 all_pod_files_ok();