2007.09.12 03:28 "[Tiff] bug reporting and state-of-the-project query", by Lee Howard

2007.09.19 22:02 "Re: [Tiff] bug reporting and state-of-the-project query", by Bob Friesenhahn

What is needed are a set of small Unix shell scripts designed to fit into libtiff's existing test suite. These scripts would test libtiff using the libtiff utilities. Besides validating libtiff, this would help validate the utilities used.

Care to volunteer?

In order to get things started (a stone for the soup), I just committed the beginnings of a script-based test suite to libtiff CVS head. This is in addition to the existing C language based tests.

The file test/common.sh is sourced by test scripts. It sets up some useful environment variables that the test scripts may use. The file test/tiffinfo.sh is an example test which simply executes tiffinfo on a TIFF file and considers the test to have passed if tiffinfo does not report an error.

The tests/Makefile.am file needs to be updated whenever a new test is added.

There is a small collection of TIFF files under test/images for use as input to test programs and test scripts. The test files have dimension 157x151. The naming convention is

    photometric-channels-bits.tiff

with files:

minisblack-1c-16b.tiff
minisblack-1c-8b.tiff
miniswhite-1c-1b.tiff
palette-1c-1b.tiff
palette-1c-4b.tiff
palette-1c-8b.tiff
rgb-3c-16b.tiff
rgb-3c-8b.tiff

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/