From: Dave Rolsky Date: Fri, 5 Sep 2008 15:12:22 +0000 (+0000) Subject: Only run tests for maintainer X-Git-Tag: 0.05~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a65278184fdc1c633ea0feb8aede99964bd00642;p=gitmo%2FMooseX-ClassAttribute.git Only run tests for maintainer --- diff --git a/t/pod-coverage.t b/t/pod-coverage.t index 105d648..3b65054 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -3,8 +3,12 @@ use warnings; use Test::More; +plan skip_all => 'This test is only run for the module author' + unless -d '.svn' || $ENV{IS_MAINTAINER}; + eval "use Test::Pod::Coverage 1.04"; -plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@; +plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" + if $@; # This is a stripped down version of all_pod_coverage_ok which lets us # vary the trustme parameter per module.