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: 3.20160506~4 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/21b9b9e306c36616f251b727d2e87a5d8538e5e4 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 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 = <