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 70023cf..9e40200 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 d62345a..62f3f72 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