From: Ricardo SIGNES Date: Mon, 13 Jul 2009 20:57:38 +0000 (-0400) Subject: skip pod tests, usually X-Git-Tag: 0.20~6^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2ed048bc2a027fb8c088b7c2b5e631cf66a721af;p=gitmo%2FMooseX-Storage.git skip pod tests, usually Conflicts: t/pod-coverage.t --- diff --git a/t/pod-coverage.t b/t/pod-coverage.t index 6162d83..e753a1a 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -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 --- 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();