carygravel / graphics-tiff

Perl extension for the libtiff library
1 stars 1 forks source link

Locate TIFF.pm by %INC #6

Closed ppisar closed 3 years ago

ppisar commented 3 years ago

t/90_MANIFEST.t used to inspect ./lib/Graphics/TIFF.pm file. That's wrong because it's a source from ./lib and all other tests operate on files from ./blib. It also prevents from runnig the test against installed files.

This patch fixes it by retrieving the file location from %INC hash populated by the previous "use Graphics::TIFF ':all';".

carygravel commented 3 years ago

Thanks for the patch. Merged.