Stop running pod tests for users
Florian Ragwitz [Wed, 16 Jun 2010 21:10:25 +0000 (21:10 +0000)]
t/01-pod.t
t/02-pod-coverage.t

index 976d7cd..2e54ed6 100644 (file)
@@ -1,6 +1,10 @@
-#!perl -T
+#!perl
 
 use Test::More;
+
+plan skip_all => 'Set TEST_POD to enable pod tests' unless $ENV{TEST_POD};
+
 eval "use Test::Pod 1.14";
 plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+
 all_pod_files_ok();
index c450a0b..a4f6ee4 100644 (file)
@@ -1,6 +1,10 @@
-#!perl -T
+#!perl
 
 use Test::More;
+
+plan skip_all => 'Set TEST_POD to enable pod tests' unless $ENV{TEST_POD};
+
 eval "use Test::Pod::Coverage 1.04";
 plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
+
 all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::CountParents' });