X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7a2117bf8c2cf5372e64ab7b368803eec7e6f5d7..71e0afc0adad1188220c99bca5f8cd7ae82fe964:/t/img.t diff --git a/t/img.t b/t/img.t index 7e7753aab..7f1f4e4b2 100755 --- a/t/img.t +++ b/t/img.t @@ -14,9 +14,10 @@ package IkiWiki; use warnings; use strict; use Test::More; +plan(skip_all => "Image::Magick not available") + unless eval q{use Image::Magick}; -BEGIN { use_ok("IkiWiki"); } -BEGIN { use_ok("Image::Magick"); } +use IkiWiki; my $magick = new Image::Magick; my $SVGS_WORK = defined $magick->QueryFormat("svg"); @@ -55,6 +56,7 @@ $maybe_svg_img [[!img twopages.pdf size=16x pagenumber=1]] EOF ); +ok(utime(333333333, 333333333, "t/tmp/in/imgconversions.mdwn")); ok(! system("make -s ikiwiki.out"));