skip POD tests unless IMAGER_AUTHOR_TESTING or AUTOMATED_TESTING is set
[imager-graph.git] / t / t93podcover.t
index 6d07743..00adee2 100644 (file)
@@ -1,6 +1,8 @@
 #!perl -w
 use strict;
 use Test::More;
+$ENV{AUTOMATED_TESTING} || $ENV{IMAGER_AUTHOR_TESTING}
+  or plan skip_all => "POD only tested under automated or author testing";
 eval "use Test::Pod::Coverage 1.08;";
 # 1.08 required for coverage_class support
 plan skip_all => "Test::Pod::Coverage 1.08 required for POD coverage" if $@;