~ubuntu-branches/ubuntu/natty/libstatistics-basic-perl/natty

« back to all changes in this revision

Viewing changes to t/critic.t

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur, Nathan Handler, Ryan Niebur
  • Date: 2009-07-01 20:22:06 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090701202206-0co1izn0pj047x4i
Tags: 1.6600-1
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.

[ Ryan Niebur ]
* New upstream release
* Debian Policy 3.8.2
* enable author tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl -w
 
2
use strict;
 
3
use Test::More;
 
4
use File::Spec;
 
5
 
 
6
if (not $ENV{TEST_AUTHOR}) {
 
7
    plan( skip_all => 'Author test.  Set $ENV{TEST_AUTHOR} to true to run.');
 
8
}
 
9
 
 
10
eval { require Test::Perl::Critic; };
 
11
 
 
12
if ($@) {
 
13
    plan( skip_all => 'Test::Perl::Critic required for test.');
 
14
}
 
15
 
 
16
Test::Perl::Critic->import();
 
17
all_critic_ok();