X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=bfa46260c36ca33810450873a19a6e0f09ef1dd6;hb=007a7ca0e2c93f24d55019aaedf27121f91b8cbc;hp=00470d76af52e281a97b2a30d5f07f937c6ed487;hpb=2f3812528068bc1d9f7840067f0c03d36cd47e6d;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 00470d7..bfa4626 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -33,8 +33,15 @@ requires 'URI' => '1.35'; requires 'Text::Balanced'; # core in 5.8.x but mentioned for completeness requires 'MRO::Compat'; +if ( ( exists $ENV{AGGREGATE_TESTS} && !$ENV{AGGREGATE_TESTS}) + || (!exists $ENV{AGGREGATE_TESTS} && !can_use('Test::Aggregate', '0.34_01'))) { + tests join q{ }, + grep { $_ ne 't/aggregate.t' } + map { glob } qw[t/*.t t/aggregate/*.t]; +} + if (-e 'inc/.author') { - build_requires 'Test::Perl::Critic'; + build_requires 'Test::NoTabs'; build_requires 'Test::Pod' => 1.14; build_requires 'Test::Pod::Coverage' => 1.04;