projects
/
webpac2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
force utf-8 encoding on all data comming from file
[webpac2]
/
t
/
2-input-pdf.t
diff --git
a/t/2-input-pdf.t
b/t/2-input-pdf.t
index
6a2151a
..
84b5697
100755
(executable)
--- a/
t/2-input-pdf.t
+++ b/
t/2-input-pdf.t
@@
-3,11
+3,20
@@
use strict;
use blib;
use strict;
use blib;
-use Test::More
tests => 11
;
+use Test::More;
BEGIN {
BEGIN {
-use_ok( 'WebPAC::Test' );
-use_ok( 'WebPAC::Input' );
+
+ eval "use CAM::PDF";
+
+ if ( $@ ) {
+ plan skip_all => "CAM::PDF required for WebPAC::Input::PDF";
+ } else {
+ plan tests => 11;
+ }
+
+ use_ok( 'WebPAC::Test' );
+ use_ok( 'WebPAC::Input' );
}
my $module = 'WebPAC::Input::PDF';
}
my $module = 'WebPAC::Input::PDF';