Make pod tests run only for authors
Shawn M Moore [Fri, 3 Oct 2008 14:48:25 +0000 (14:48 +0000)]
t/pod.t
t/pod_coverage.t

diff --git a/t/pod.t b/t/pod.t
index 4ae1af3..c524a1a 100644 (file)
--- a/t/pod.t
+++ b/t/pod.t
@@ -6,6 +6,7 @@ use warnings;
 use Test::More;
 
 eval "use Test::Pod 1.14";
+plan skip_all => "Pod tests run only authors" unless -e "inc/.author";
 plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
 
 all_pod_files_ok();
index 7569358..4720fa4 100644 (file)
@@ -6,6 +6,7 @@ use warnings;
 use Test::More;
 
 eval "use Test::Pod::Coverage 1.04";
+plan skip_all => "Pod tests run only authors" unless -e "inc/.author";
 plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
 
 all_pod_coverage_ok();