don't test category list if other modules preloaded
Graham Knop [Sun, 1 Jun 2014 05:30:15 +0000 (01:30 -0400)]
xt/all-categories.t

index fd63eea..73156cc 100644 (file)
@@ -1,3 +1,10 @@
+BEGIN {
+  if (keys %INC) {
+    print "1..0 # SKIP can't test categories with additional modules loaded\n";
+    exit 0;
+  }
+}
+
 use strict;
 use warnings;