- minor pod test cleanup
authorplobbes <plobbes>
Sat, 18 Oct 2008 17:33:49 +0000 (17:33 +0000)
committerplobbes <plobbes>
Sat, 18 Oct 2008 17:33:49 +0000 (17:33 +0000)
t/pod-coverage.t
t/pod.t

index e2715fd..7e79bca 100644 (file)
@@ -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 (file)
--- 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();