From: Joey Hess Date: Fri, 6 May 2016 00:44:11 +0000 (-0400) Subject: update test suite for svg passthrough by img directive X-Git-Tag: debian/3.20141016.3~6 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/7c78e35c5908561b2dcf963779887d7aed05d1d3 update test suite for svg passthrough by img directive Remove build dependency libmagickcore-6.q16-2-extra which was only there for this test. --- diff --git a/debian/control b/debian/control index 78bb68341..68f543a24 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Build-Depends-Indep: dpkg-dev (>= 1.9.0), libxml-simple-perl, libhtml-parser-perl, liburi-perl (>= 1.36), perlmagick, po4a (>= 0.34), libfile-chdir-perl, libyaml-libyaml-perl, librpc-xml-perl, libcgi-pm-perl, libcgi-session-perl, ghostscript, - libmagickcore-6.q16-2-extra | libmagickcore-extra, + libmagickcore-extra, libcgi-formbuilder-perl Maintainer: Simon McVittie Uploaders: Josh Triplett diff --git a/t/img.t b/t/img.t index 5d0e0f09c..401858a13 100755 --- a/t/img.t +++ b/t/img.t @@ -35,7 +35,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"); @@ -64,11 +63,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 = <