diff --git a/t/i18n/critic_labels.t b/t/i18n/critic_labels.t index 39c7fa9fb..6615e5ad0 100644 --- a/t/i18n/critic_labels.t +++ b/t/i18n/critic_labels.t @@ -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