Fix author requires to not fatally error on a single command Fix author test platform...
[catagits/Catalyst-Runtime.git] / t / aggregate.t
index 6722046..0696abb 100644 (file)
@@ -5,6 +5,14 @@ use warnings;
 
 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 }) {
@@ -15,7 +23,7 @@ BEGIN {
 
 my $tests = Test::Aggregate->new({
     (@ARGV ? (tests => \@ARGV) : (dirs => 't/aggregate')),
-    verbose       => 0,
+    verbose       => 1,  # failures only
     set_filenames => 1,
     findbin       => 1,
 });