test_require Test::Aggregate if we're going to aggregate tests.
Florian Ragwitz [Fri, 5 Dec 2008 07:51:17 +0000 (07:51 +0000)]
Makefile.PL

index 3973a5b..9109226 100644 (file)
@@ -41,6 +41,9 @@ if (   ( exists $ENV{AGGREGATE_TESTS} && !$ENV{AGGREGATE_TESTS})
         grep { $_ ne 't/aggregate.t' }
         map  { glob } qw[t/*.t t/aggregate/*.t];
 }
+else {
+    test_requires('Test::Aggregate', '0.34_01');
+}
 
 if (-e 'inc/.author') {
   build_requires 'Test::NoTabs';