skip Perl::Critic tests if unable to load modules

This commit is contained in:
Graham Knop 2008-08-07 22:55:17 +00:00
parent 2cce90f150
commit c84c8b0dc6

View file

@ -25,6 +25,9 @@ use WebGUI::Session;
##Delay this so that the skip_all can work the way it should
eval { require Test::Perl::Critic; };
if ($@) {
plan skip_all => "Test::Perl::Critic not installed";
}
#----------------------------------------------------------------------------
# Init