From: Dagfinn Ilmari Mannsåker Date: Mon, 3 Apr 2017 15:48:03 +0000 (+0100) Subject: Add modules used in author tests to develop-requires X-Git-Tag: v1.85~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fe143972050e95c4c91df08c24938cee96065bfe;p=dbsrgits%2FSQL-Abstract.git Add modules used in author tests to develop-requires Also remove conditional skippage from author tests --- diff --git a/Makefile.PL b/Makefile.PL index 5e246bd..0a54504 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -38,7 +38,13 @@ my %META = ( }, }, develop => { - requires => {}, + requires => { + 'Test::Pod' => '1.14', + 'Test::Pod::Coverage' => '1.04', + 'Pod::Coverage' => '0.19', + 'Test::EOL' => '1.0', + 'Test::NoTabs' => '0.9', + }, }, }, resources => { diff --git a/xt/90pod.t b/xt/90pod.t index 57b8782..2deaaab 100644 --- a/xt/90pod.t +++ b/xt/90pod.t @@ -2,8 +2,6 @@ use warnings; use strict; use Test::More; - -eval "use Test::Pod 1.14"; -plan skip_all => 'Test::Pod 1.14 required' if $@; +use Test::Pod 1.14; all_pod_files_ok(); diff --git a/xt/91podcoverage.t b/xt/91podcoverage.t index 3c02c82..52f172b 100644 --- a/xt/91podcoverage.t +++ b/xt/91podcoverage.t @@ -3,13 +3,8 @@ use strict; use Test::More; -eval "use Pod::Coverage 0.19"; -plan skip_all => 'Pod::Coverage 0.19 required' if $@; -eval "use Test::Pod::Coverage 1.04"; -plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@; - -plan skip_all => 'set TEST_POD to enable this test' - unless ( $ENV{TEST_POD} || -e 'MANIFEST.SKIP' ); +use Pod::Coverage 0.19; +use Test::Pod::Coverage 1.04; my @modules = sort { $a cmp $b } ( Test::Pod::Coverage::all_modules() ); diff --git a/xt/92whitespace.t b/xt/92whitespace.t index d36b338..5f76669 100644 --- a/xt/92whitespace.t +++ b/xt/92whitespace.t @@ -3,12 +3,9 @@ use strict; use Test::More; use File::Glob 'bsd_glob'; -use lib 't/lib'; -eval "use Test::EOL 1.0 ()"; -plan skip_all => 'Test::EOL 1.0 required' if $@; -eval "use Test::NoTabs 0.9 ()"; -plan skip_all => 'Test::NoTabs 0.9 required' if $@; +use Test::EOL 1.0 (); +use Test::NoTabs 0.9 (); # FIXME - temporary workaround for RT#82032, RT#82033 # also add all scripts (no extension) and some extra extensions