summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplobbes <plobbes>2008-10-18 17:33:49 +0000
committerplobbes <plobbes>2008-10-18 17:33:49 +0000
commita3df31f5d703d9bb05e4f9bbede4627abc4f7a4f (patch)
tree3d15f2223502102790e5de8b6a9741c7bcaa5d77
parent587b4370d3fd2acb4f353d2ca1f9523bfb237c85 (diff)
- minor pod test cleanup
-rw-r--r--t/pod-coverage.t8
-rw-r--r--t/pod.t7
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();
diff --git a/t/pod.t b/t/pod.t
index 2c9935c..209baf7 100644
--- a/t/pod.t
+++ b/t/pod.t
@@ -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();