Permalink
Browse files

r27568@knight: rjbs | 2006-11-06 17:31:42 -0500

 perl critic everywhere
  • Loading branch information...
1 parent 51a6bf7 commit 0bf5f94ca367e8a781ca92dc7ab8f15903b89da6 @rjbs committed Nov 7, 2006
Showing with 14 additions and 0 deletions.
  1. +14 −0 t/perl-critic.t
View
@@ -0,0 +1,14 @@
+#!perl
+use strict;
+use warnings;
+use Test::More;
+
+if ($ENV{PERL_TEST_CRITIC}) {
+ if (eval { require Test::Perl::Critic }) {
+ Test::Perl::Critic::all_critic_ok();
+ } else {
+ plan skip_all => "couldn't load Test::Perl::Critic";
+ }
+} else {
+ plan skip_all => "define PERL_TEST_CRITIC to run these tests";
+}

0 comments on commit 0bf5f94

Please sign in to comment.