From: Brian Cassidy Date: Tue, 13 May 2008 18:53:32 +0000 (+0000) Subject: update pod and podcoverage tests to match cat dist X-Git-Tag: v5.8005~314 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=be59772bd5bfc24b6518a82ef7d1ff7dd8d2651a update pod and podcoverage tests to match cat dist --- diff --git a/t/pod-coverage.t b/t/pod-coverage.t index 703f91d..955f071 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -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 --- 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();