Force xt/ tests to run on anything involving a create_distdir
[dbsrgits/DBIx-Class.git] / xt / podcoverage.t
index a5c923f..40041ac 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 
 use Test::More;
 use List::Util 'first';
-use lib qw(t/lib);
+use lib qw(t/lib maint/.Generated_Pod);
 use DBICTest;
 use namespace::clean;
 
@@ -159,7 +159,7 @@ for my $string (keys %$exceptions) {
   $ex_lookup->{$re} = $ex;
 }
 
-my @modules = sort { $a cmp $b } (Test::Pod::Coverage::all_modules());
+my @modules = sort { $a cmp $b } Test::Pod::Coverage::all_modules('lib');
 
 foreach my $module (@modules) {
   SKIP: {