X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=77abec64745eed872fe57baa25987d8e1aa4f0be;hb=9b871b00c2d332f53b68b2e98286aa8a116d2c19;hp=a88f64e3f06974c86945501da7905a122be4fe1b;hpb=d4a39575216302461a304c8c5211109ffb9d39f0;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index a88f64e..77abec6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -119,27 +119,6 @@ if ($ENV{DBICTEST_SQLT_DEPLOY}) { } } -# Bail out on parallel testing -if ( - ($ENV{HARNESS_OPTIONS}||'') =~ / (?: ^ | \: ) j(\d+) /x - and - $1 > 1 -) { die <catfile('maint', 'Makefile.PL.inc', '*') ) ) { - eval scalar do { local (@ARGV, $/) = $_; <> } - or die ($@ || $!); + for my $inc (sort glob ( File::Spec->catfile('maint', 'Makefile.PL.inc', '*') ) ) { + my $src = do { local (@ARGV, $/) = $inc; <> } or die $!; + eval "use warnings; use strict; $src" or die sprintf + "Failed execution of %s: %s\n", + $inc, + ($@ || $! || 'Unknown error'), + ; } } else {