X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=a08a13b0ca3808c153467ae8ed56ee89c7cd8045;hb=94f74acdfa62a94db80eb08f12078f0e0d513fc3;hp=8279a91fc8b6b617cc1471894ee7d3a8f9affd9b;hpb=5ad8be8c2865ed519105c506c721114e8e48fc75;p=catagits%2FCatalyst-Runtime.git diff --git a/Makefile.PL b/Makefile.PL index 8279a91..a08a13b 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -43,9 +43,10 @@ recommends 'B::Hooks::OP::Check::StashChange'; test_requires 'Class::Data::Inheritable'; test_requires 'Test::Exception'; -# aggregate tests if AGGREGATE_TESTS is set and a recent Test::Aggregate is available -if ($ENV{AGGREGATE_TESTS} && can_use('Test::Aggregate', '0.34_01')) { - test_requires('Test::Aggregate', '0.34_01'); +# aggregate tests if AGGREGATE_TESTS is set and a recent Test::Aggregate and a Test::Simple it works with is available +if ($ENV{AGGREGATE_TESTS} && can_use('Test::Simple', '0.88') && can_use('Test::Aggregate', '0.35_05')) { + test_requires('Test::Aggregate', '0.35_05'); + test_requires('Test::Simple', '0.88'); } else { tests join q{ },