diff options
-rw-r--r-- | t/pod-coverage.t | 8 | ||||
-rw-r--r-- | t/pod.t | 7 |
2 files changed, 10 insertions, 5 deletions
diff --git a/t/pod-coverage.t b/t/pod-coverage.t index e2715fd..7e79bca 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -4,7 +4,9 @@ use strict; use warnings; use Test::More; -eval "use Test::Pod::Coverage 1.00"; -plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" - if $@; +plan skip_all => 'Set RELEASE_TESTING=1 to run this test' + if not $ENV{RELEASE_TESTING}; +eval 'use Test::Pod::Coverage'; +plan skip_all => 'Needs Test::Pod::Coverage' + if $@; all_pod_coverage_ok(); @@ -4,6 +4,9 @@ use strict; use warnings; use Test::More; -eval "use Test::Pod 1.00"; -plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; +plan skip_all => 'Set RELEASE_TESTING=1 to run this test' + if not $ENV{RELEASE_TESTING}; +eval "use Test::Pod"; +plan skip_all => 'Needs Test::Pod' + if $@; all_pod_files_ok(); |