force pod coverage testing for authors
Matt S Trout [Tue, 23 Oct 2007 22:09:58 +0000 (22:09 +0000)]
Makefile.PL
t/02pod.t
t/03podcoverage.t

index 443d622..d913cab 100644 (file)
@@ -35,6 +35,8 @@ requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness
 
 if (-e 'inc/.author') {
   build_requires 'Test::Perl::Critic';
+  build_requires 'Test::Pod' => 1.14;
+  build_requires 'Test::Pod::Coverage' => 1.04;
 
   if ($^O eq 'darwin') { 
       makemaker_args(dist => { PREOP => 'if [ "$$COPY_EXTENDED_ATTRIBUTES_DISABLE" != "true" ]; then'.
index 8182004..05aa78a 100644 (file)
--- a/t/02pod.t
+++ b/t/02pod.t
@@ -2,6 +2,6 @@ use Test::More;
 
 eval "use Test::Pod 1.14";
 plan skip_all => 'Test::Pod 1.14 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -f 'MANIFEST.SKIP';
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -e 'inc/.author';
 
 all_pod_files_ok();
index 6e5a25f..955f071 100644 (file)
@@ -2,6 +2,6 @@ use Test::More;
 
 eval "use Test::Pod::Coverage 1.04";
 plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
-plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -f 'MANIFEST.SKIP';
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD} || -e 'inc/.author';
 
 all_pod_coverage_ok();