skip pod tests, usually
Ricardo SIGNES [Mon, 13 Jul 2009 20:57:38 +0000 (16:57 -0400)]
Conflicts:

t/pod-coverage.t

t/pod-coverage.t
t/pod.t

index 6162d83..e753a1a 100644 (file)
@@ -1,6 +1,9 @@
 #!perl
-
 use Test::More;
+
+plan skip_all => "set env var RELEASE_TESTING=1 to run these"
+  unless $ENV{RELEASE_TESTING};
+
 eval "use Test::Pod::Coverage 1.08";
 warn $@ if $@;
 plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@;
diff --git a/t/pod.t b/t/pod.t
index 976d7cd..dc469cd 100644 (file)
--- a/t/pod.t
+++ b/t/pod.t
@@ -2,5 +2,7 @@
 
 use Test::More;
 eval "use Test::Pod 1.14";
+plan skip_all => "set env var RELEASE_TESTING=1 to run these"
+  unless $ENV{RELEASE_TESTING};
 plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
 all_pod_files_ok();