From 21b9b9e306c36616f251b727d2e87a5d8538e5e4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 5 May 2016 20:44:11 -0400 Subject: [PATCH] update test suite for svg passthrough by img directive Remove build dependency libmagickcore-6.q16-2-extra which was only there for this test. --- debian/control | 2 +- t/img.t | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/debian/control b/debian/control index fb841bcb3..60d0e82db 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Build-Depends-Indep: libhtml-scrubber-perl, libhtml-template-perl, libimage-magick-perl | perlmagick, - libmagickcore-6.q16-2-extra | libmagickcore-extra, + libmagickcore-extra, libnet-openid-consumer-perl, librpc-xml-perl, libtext-markdown-discount-perl, diff --git a/t/img.t b/t/img.t index ec23d621f..71b69914e 100755 --- a/t/img.t +++ b/t/img.t @@ -36,7 +36,6 @@ else { push @command, qw(--set usedirs=0 --plugin img t/tmp/in t/tmp/out --verbose); my $magick = new Image::Magick; -my $SVGS_WORK = defined $magick->QueryFormat("svg"); $magick->Read("t/img/twopages.pdf"); my $PDFS_WORK = defined $magick->Get("width"); @@ -65,11 +64,6 @@ ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.jpg")); ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.png")); ok(! system("cp t/img/twopages.pdf t/tmp/in/really-pdf.svg")); -my $maybe_svg_img = ""; -if ($SVGS_WORK) { - $maybe_svg_img = "[[!img bluesquare.svg size=10x]]"; -} - my $maybe_pdf_img = ""; if ($PDFS_WORK) { $maybe_pdf_img = <