From: Graham Knop Date: Sun, 1 Jun 2014 05:30:15 +0000 (-0400) Subject: don't test category list if other modules preloaded X-Git-Tag: v1.999_001~1^2~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=de3406612899d937d30fa4c6017333a352cce02f;p=p5sagit%2Fstrictures.git don't test category list if other modules preloaded --- diff --git a/xt/all-categories.t b/xt/all-categories.t index fd63eea..73156cc 100644 --- a/xt/all-categories.t +++ b/xt/all-categories.t @@ -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;