Check for Test::Aggregate >= 0.34_01.
Florian Ragwitz [Thu, 4 Sep 2008 08:16:07 +0000 (08:16 +0000)]
This is the first version to not mess with output and exit code when not even
running any tests.

Makefile.PL

index 2f50b48..bfa4626 100644 (file)
@@ -34,7 +34,7 @@ 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'))) {
+    || (!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];