~ubuntu-branches/debian/sid/gscan2pdf/sid

« back to all changes in this revision

Viewing changes to t/critic.t

  • Committer: Package Import Robot
  • Author(s): Jeffrey Ratcliffe
  • Date: 2012-02-05 22:13:28 UTC
  • mfrom: (1.3.7)
  • Revision ID: package-import@ubuntu.com-20120205221328-lbe6imlt2nymnk7o
Tags: 1.0.1-1
* New upstream release
  Closes: #653918 (gscan2pdf doesn't save metadata anymore)
  Closes: #646298 (pdf-exports of ocropus texts are slow, big)
  Closes: #646246 (gscan2pdf ignores html-entities returned by ocropus
                   documents)
  Closes: #651666 (ability to preview saved files)
  Closes: #645322 (No lock after recovery can result in data loss)
  Closes: #645323 (Imported pages have no thumbnails)
* Bumped standards to 3.9.2 (no changes required)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
use strict;
2
 
use warnings;
3
 
use File::Spec;
4
 
use Test::More;
5
 
 
6
 
if ( not $ENV{TEST_AUTHOR} ) {
7
 
   my $msg = 'Author test.  Set $ENV{TEST_AUTHOR} to a true value to run.';
8
 
   plan( skip_all => $msg );
9
 
}
10
 
 
11
 
if ( ! eval { require Test::Perl::Critic; } ) {
12
 
   my $msg = 'Test::Perl::Critic required to criticise code';
13
 
   plan( skip_all => $msg );
14
 
}
15
 
 
16
 
my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' );
17
 
Test::Perl::Critic->import( -profile => $rcfile );
18
 
all_critic_ok();