Subject: | Graphics-Primitive-Driver-Cairo-0.19 doesn't pass tests without Test::Image::GD |
Hi, Graphics-Primitive-Driver-Cairo-0.19 doesn't pass tests without
Test::Image::GD
I suggest add:
test_requires 'Test::Image::GD';
to Makefile.PM, or tune when test script should be skipped something like:
--- t/10-simple-border.t Sun Aug 31 04:52:20 2008
+++ t/10-simple-border.t.new Sun Aug 31 04:52:08 2008
@@ -6,11 +6,12 @@
use Graphics::Primitive::Component;
use Graphics::Primitive::Driver::Cairo;
use Graphics::Color::RGB;
-use Test::More tests => 1;
+use Test::More;
eval "use Test::Image::GD";
plan skip_all => "Test::Image::GD required for testing output testing"
if $@;
+plan tests => 1;
my $path_to_ofile = catdir('t', 'osimple-border.png');
my $path_to_file = catdir('t', 'images', 'simple-border.png');