update pod and podcoverage tests to match cat dist
Brian Cassidy [Tue, 13 May 2008 18:53:32 +0000 (18:53 +0000)]
t/pod-coverage.t
t/pod.t

index 703f91d..955f071 100644 (file)
@@ -1,6 +1,7 @@
-#!perl -T
-
 use Test::More;
+
 eval "use Test::Pod::Coverage 1.04";
-plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
+plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -e 'inc/.author';
+
 all_pod_coverage_ok();
diff --git a/t/pod.t b/t/pod.t
index 976d7cd..05aa78a 100644 (file)
--- a/t/pod.t
+++ b/t/pod.t
@@ -1,6 +1,7 @@
-#!perl -T
-
 use Test::More;
+
 eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+plan skip_all => 'Test::Pod 1.14 required' if $@;
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -e 'inc/.author';
+
 all_pod_files_ok();