more testing
[catagits/Catalyst-Runtime.git] / t / aggregate.t
index 6722046..e071379 100644 (file)
@@ -1,10 +1,16 @@
-#!perl
-
 use strict;
 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 }) {