1#!/usr/bin/perl 2use strict; 3use warnings; 4use Test::More; 5 6BEGIN { 7 unless ($ENV{RELEASE_TESTING}) { 8 plan( skip_all => 'these tests are for release candidate testing' ); 9 } 10} 11 12#--------------------------------------------------------------------- 13 14 15eval { require Test::Perl::Critic; }; 16plan skip_all => "Test::Perl::Critic required for testing PBP compliance" if $@; 17 18Test::Perl::Critic->import( 19 -verbose => 10, 20 -severity => 'gentle', # default 21 -force => 0, # default (allow ## no critic) 22 ); 23 24all_critic_ok(); 25