This probably also fixes prove -lr t/, which people have been complaining about
every now and then.
}
else {
unlink '.aggregating';
- tests join q{ },
- grep { $_ ne 't/aggregate.t' }
- map { glob } qw[t/*.t t/aggregate/*.t];
+ tests 't/*.t t/aggregate/*.t';
}
+
author_requires 'CatalystX::LeakChecker', '0.05';
author_requires 'File::Copy::Recursive'; # For http server test
use FindBin;
use lib "$FindBin::Bin/lib";
+use File::Spec::Functions 'catfile', 'updir';
+
+BEGIN {
+ unless (-e catfile $FindBin::Bin, updir, '.aggregating') {
+ require Test::More;
+ Test::More::plan(skip_all => 'No test aggregation requested');
+ }
+}
BEGIN {
unless (eval { require Test::Aggregate; Test::Aggregate->VERSION('0.364'); 1 }) {