add file missing from MANIFEST, and make test produce the load error
authorTony Cook <tony@develop=help.com>
Sat, 7 Aug 2010 01:15:13 +0000 (01:15 +0000)
committerTony Cook <tony@develop=help.com>
Sat, 7 Aug 2010 01:15:13 +0000 (01:15 +0000)
message if it can't load it.

MANIFEST
t/t106tiff.t

index 70023cf1a7af83530613965e18cfc2e7504b253b..9e40200845c636cbe32a511bb4766dcec9c83171 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -353,6 +353,7 @@ testimg/pengtile.tif        Tiled tiff image, same as penguin-base.ppm
 testimg/pgm.pgm                Simple pgm for testing the right sample is in the right place
 testimg/rgb16.tif      16-bit/sample RGB image - strips
 testimg/rgb16t.tif     16-bit/sample RGB image - tiled
+testimg/rgbatsep.tif   Tiled/separated for testing RGBA codepath
 testimg/scale.gif
 testimg/scale.ppm
 testimg/scalei.gif
index d62345a9b041653b575c3a842f5667db48c82b30..62f3f727997c8c147aaece67d33d9c6ac0c678ad 100644 (file)
@@ -561,7 +561,8 @@ SKIP:
   # tiled, non-contig, should fallback to RGBA code
   my $rgbatsep = Imager->new;
   ok($rgbatsep->read(file => 'testimg/rgbatsep.tif'),
-     "read base rgba image");
+     "read tiled, separated rgba image")
+    or diag($rgbatsep->errstr);
   is_image($rgba, $rgbatsep, "check they match");
 }
 { # read bi-level