X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fdist%2Fpod_coverage.t;h=1f3195a4a65c634affb7df141b5c4ada62da11b3;hb=554484cbb19aadbcb23e28dfbd3de048518ece0d;hp=88bcb81c322b81c4ccb2f02807d104dca59657d0;hpb=26c663f123032941cb3f61d6cd11869b86716d6d;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/dist/pod_coverage.t b/xt/dist/pod_coverage.t index 88bcb81..1f3195a 100644 --- a/xt/dist/pod_coverage.t +++ b/xt/dist/pod_coverage.t @@ -5,6 +5,7 @@ use strict; use Test::More; use List::Util 'first'; +use Module::Runtime 'require_module'; use lib qw(t/lib maint/.Generated_Pod/lib); use DBICTest; use namespace::clean; @@ -172,6 +173,8 @@ foreach my $module (@modules) { skip ("$module exempt", 1) if ($ex->{skip}); + skip ("$module not loadable", 1) unless eval { require_module($module) }; + # build parms up from ignore list my $parms = {}; $parms->{trustme} =