2004-08-07 14:20:35 -04:00
|
|
|
# Tag Image File Format (TIFF) Software
|
|
|
|
#
|
2006-03-23 09:54:00 -05:00
|
|
|
# Copyright (C) 2004, Andrey Kiselev <dron@ak4719.spb.edu>
|
2004-08-07 14:20:35 -04:00
|
|
|
#
|
|
|
|
# Permission to use, copy, modify, distribute, and sell this software and
|
|
|
|
# its documentation for any purpose is hereby granted without fee, provided
|
|
|
|
# that (i) the above copyright notices and this permission notice appear in
|
|
|
|
# all copies of the software and related documentation, and (ii) the names of
|
|
|
|
# Sam Leffler and Silicon Graphics may not be used in any advertising or
|
|
|
|
# publicity relating to the software without the specific, prior written
|
|
|
|
# permission of Sam Leffler and Silicon Graphics.
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
|
|
|
|
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
#
|
|
|
|
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
|
|
|
|
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
|
|
|
|
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
|
|
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
|
|
|
|
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
|
|
# OF THIS SOFTWARE.
|
|
|
|
|
|
|
|
# Process this file with automake to produce Makefile.in.
|
|
|
|
|
2012-09-20 09:50:27 -04:00
|
|
|
AUTOMAKE_OPTIONS = 1.12 color-tests parallel-tests foreign
|
2009-08-21 12:52:14 -04:00
|
|
|
|
2006-01-08 13:57:33 -05:00
|
|
|
LIBTIFF = $(top_builddir)/libtiff/libtiff.la
|
2004-08-07 14:20:35 -04:00
|
|
|
|
2009-08-23 19:23:19 -04:00
|
|
|
# Environment parameters to be used during tests
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
|
|
MAKE="$(MAKE)" \
|
|
|
|
MAKEFLAGS="$(MAKEFLAGS)" \
|
|
|
|
MEMCHECK="$(MEMCHECK)"
|
|
|
|
|
2007-09-19 17:51:00 -04:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(TESTSCRIPTS) \
|
2009-08-23 16:19:40 -04:00
|
|
|
$(IMAGES_EXTRA_DIST) \
|
2015-08-30 17:26:45 -04:00
|
|
|
CMakeLists.txt \
|
2015-08-30 20:01:18 -04:00
|
|
|
common.sh \
|
|
|
|
TiffSplitTest.cmake \
|
* CMakeLists.txt, libtiff/test/Makefile.am: Applied patches by
Roger Leigh (via tiff mailing list on 2015-08-31.
CMake reads all version information directly from configure.ac to
avoid duplication of values. This basically greps over the file
for the LIBTIFF_* variables, then translates them to the form
needed for cmake. This includes the release version and libtool
shared library version information.
Make shared/static library building configurable. Currently it
always builds shared libraries, with static libs having a _static
suffix (copying zlib, but it means it's got a non-standard name).
CMake has a -DBUILD_SHARED_LIBS=ON|OFF option to select one or the
other, which is now used instead. There's now a single "tiff"
target to build either shared or static as required, and all the
tests and tools are linked with this. Note: the Windows tests fail
when linked with a static libtiff (says: libtiff.dll not found).
Not really a regression since this was not tested up to this
point, and it's likely the unit tests haven't (ever?) been run on
Windows with a static libtiff, so there's some additional
portability issue here to address. Works fine on UNIX systems,
and fine on Windows with the default to build a DLL.
Add a missing file which wasn't being distributed, causing unit
tests to fail. Note that "find . -name '*.cmake'" lists all the
CMake files which need distributing in addition to all the
CMakeLists.txt files (which now are distributed).
2015-08-31 22:51:50 -04:00
|
|
|
TiffTestCommon.cmake \
|
|
|
|
TiffTest.cmake
|
2004-08-07 14:20:35 -04:00
|
|
|
|
2007-09-19 17:51:00 -04:00
|
|
|
# All of the tests to execute via 'make check'
|
|
|
|
TESTS = $(check_PROGRAMS) $(TESTSCRIPTS)
|
2004-08-07 14:20:35 -04:00
|
|
|
|
2009-08-21 21:45:32 -04:00
|
|
|
# Tests which are expected to fail
|
2010-12-13 22:27:13 -05:00
|
|
|
XFAIL_TESTS =
|
2009-08-21 21:45:32 -04:00
|
|
|
|
|
|
|
# Extra files which should be cleaned by 'make clean'
|
2009-08-23 18:58:25 -04:00
|
|
|
CLEANFILES = test_packbits.tif o-*
|
2009-01-20 21:06:55 -05:00
|
|
|
|
2015-06-21 14:46:29 -04:00
|
|
|
if HAVE_JPEG
|
|
|
|
JPEG_DEPENDENT_CHECK_PROG=raw_decode
|
2015-06-21 15:32:32 -04:00
|
|
|
JPEG_DEPENDENT_TESTSCRIPTS=tiff2rgba-quad-tile.jpg.sh
|
2015-06-21 14:46:29 -04:00
|
|
|
else
|
|
|
|
JPEG_DEPENDENT_CHECK_PROG=
|
2015-06-21 15:32:32 -04:00
|
|
|
JPEG_DEPENDENT_TESTSCRIPTS=
|
2015-06-21 14:46:29 -04:00
|
|
|
endif
|
|
|
|
|
2007-09-19 17:51:00 -04:00
|
|
|
# Executable programs which need to be built in order to support tests
|
2015-06-21 14:46:29 -04:00
|
|
|
check_PROGRAMS = \
|
|
|
|
ascii_tag long_tag short_tag strip_rw rewrite custom_dir \
|
|
|
|
$(JPEG_DEPENDENT_CHECK_PROG)
|
2004-09-03 11:03:34 -04:00
|
|
|
|
2007-09-19 17:51:00 -04:00
|
|
|
# Test scripts to execute
|
|
|
|
TESTSCRIPTS = \
|
2009-08-29 16:45:09 -04:00
|
|
|
ppm2tiff_pbm.sh \
|
|
|
|
ppm2tiff_pgm.sh \
|
|
|
|
ppm2tiff_ppm.sh \
|
2008-05-24 18:24:25 -04:00
|
|
|
tiffcp-g3.sh \
|
|
|
|
tiffcp-g3-1d.sh \
|
|
|
|
tiffcp-g3-1d-fill.sh \
|
|
|
|
tiffcp-g3-2d.sh \
|
|
|
|
tiffcp-g3-2d-fill.sh \
|
|
|
|
tiffcp-g4.sh \
|
2009-06-30 13:25:26 -04:00
|
|
|
tiffcp-logluv.sh \
|
2008-05-24 18:24:25 -04:00
|
|
|
tiffcp-thumbnail.sh \
|
2017-07-11 05:20:31 -04:00
|
|
|
tiffcp-lzw-compat.sh \
|
2008-05-24 18:24:25 -04:00
|
|
|
tiffdump.sh \
|
|
|
|
tiffinfo.sh \
|
|
|
|
tiffcp-split.sh \
|
|
|
|
tiffcp-split-join.sh \
|
|
|
|
tiff2ps-PS1.sh \
|
|
|
|
tiff2ps-PS2.sh \
|
|
|
|
tiff2ps-PS3.sh \
|
|
|
|
tiff2ps-EPS1.sh \
|
2009-01-12 11:23:11 -05:00
|
|
|
tiff2pdf.sh \
|
2009-08-23 16:19:40 -04:00
|
|
|
tiffcrop-doubleflip-logluv-3c-16b.sh \
|
|
|
|
tiffcrop-doubleflip-minisblack-1c-16b.sh \
|
|
|
|
tiffcrop-doubleflip-minisblack-1c-8b.sh \
|
|
|
|
tiffcrop-doubleflip-minisblack-2c-8b-alpha.sh \
|
|
|
|
tiffcrop-doubleflip-miniswhite-1c-1b.sh \
|
|
|
|
tiffcrop-doubleflip-palette-1c-1b.sh \
|
|
|
|
tiffcrop-doubleflip-palette-1c-4b.sh \
|
|
|
|
tiffcrop-doubleflip-palette-1c-8b.sh \
|
|
|
|
tiffcrop-doubleflip-rgb-3c-16b.sh \
|
|
|
|
tiffcrop-doubleflip-rgb-3c-8b.sh \
|
|
|
|
tiffcrop-extract-logluv-3c-16b.sh \
|
|
|
|
tiffcrop-extract-minisblack-1c-16b.sh \
|
|
|
|
tiffcrop-extract-minisblack-1c-8b.sh \
|
|
|
|
tiffcrop-extract-minisblack-2c-8b-alpha.sh \
|
|
|
|
tiffcrop-extract-miniswhite-1c-1b.sh \
|
|
|
|
tiffcrop-extract-palette-1c-1b.sh \
|
|
|
|
tiffcrop-extract-palette-1c-4b.sh \
|
|
|
|
tiffcrop-extract-palette-1c-8b.sh \
|
|
|
|
tiffcrop-extract-rgb-3c-16b.sh \
|
|
|
|
tiffcrop-extract-rgb-3c-8b.sh \
|
|
|
|
tiffcrop-extractz14-logluv-3c-16b.sh \
|
|
|
|
tiffcrop-extractz14-minisblack-1c-16b.sh \
|
|
|
|
tiffcrop-extractz14-minisblack-1c-8b.sh \
|
|
|
|
tiffcrop-extractz14-minisblack-2c-8b-alpha.sh \
|
|
|
|
tiffcrop-extractz14-miniswhite-1c-1b.sh \
|
|
|
|
tiffcrop-extractz14-palette-1c-1b.sh \
|
|
|
|
tiffcrop-extractz14-palette-1c-4b.sh \
|
|
|
|
tiffcrop-extractz14-palette-1c-8b.sh \
|
|
|
|
tiffcrop-extractz14-rgb-3c-16b.sh \
|
|
|
|
tiffcrop-extractz14-rgb-3c-8b.sh \
|
|
|
|
tiffcrop-R90-logluv-3c-16b.sh \
|
|
|
|
tiffcrop-R90-minisblack-1c-16b.sh \
|
|
|
|
tiffcrop-R90-minisblack-1c-8b.sh \
|
|
|
|
tiffcrop-R90-minisblack-2c-8b-alpha.sh \
|
|
|
|
tiffcrop-R90-miniswhite-1c-1b.sh \
|
|
|
|
tiffcrop-R90-palette-1c-1b.sh \
|
|
|
|
tiffcrop-R90-palette-1c-4b.sh \
|
|
|
|
tiffcrop-R90-palette-1c-8b.sh \
|
|
|
|
tiffcrop-R90-rgb-3c-16b.sh \
|
|
|
|
tiffcrop-R90-rgb-3c-8b.sh \
|
2009-08-23 18:58:25 -04:00
|
|
|
tiff2rgba-logluv-3c-16b.sh \
|
|
|
|
tiff2rgba-minisblack-1c-16b.sh \
|
|
|
|
tiff2rgba-minisblack-1c-8b.sh \
|
|
|
|
tiff2rgba-minisblack-2c-8b-alpha.sh \
|
|
|
|
tiff2rgba-miniswhite-1c-1b.sh \
|
|
|
|
tiff2rgba-palette-1c-1b.sh \
|
|
|
|
tiff2rgba-palette-1c-4b.sh \
|
|
|
|
tiff2rgba-palette-1c-8b.sh \
|
|
|
|
tiff2rgba-rgb-3c-16b.sh \
|
2012-06-01 17:04:22 -04:00
|
|
|
tiff2rgba-rgb-3c-8b.sh \
|
2015-06-21 15:32:32 -04:00
|
|
|
$(JPEG_DEPENDENT_TESTSCRIPTS)
|
2007-09-19 17:51:00 -04:00
|
|
|
|
2009-08-23 16:19:40 -04:00
|
|
|
# This list should contain all of the TIFF files in the 'images'
|
|
|
|
# subdirectory which are intended to be used as input images for
|
|
|
|
# tests. All of these files should use the extension ".tiff".
|
|
|
|
TIFFIMAGES = \
|
|
|
|
images/logluv-3c-16b.tiff \
|
2007-09-19 17:51:00 -04:00
|
|
|
images/minisblack-1c-16b.tiff \
|
|
|
|
images/minisblack-1c-8b.tiff \
|
2009-08-23 16:19:40 -04:00
|
|
|
images/minisblack-2c-8b-alpha.tiff \
|
2007-09-19 17:51:00 -04:00
|
|
|
images/miniswhite-1c-1b.tiff \
|
|
|
|
images/palette-1c-1b.tiff \
|
|
|
|
images/palette-1c-4b.tiff \
|
|
|
|
images/palette-1c-8b.tiff \
|
|
|
|
images/rgb-3c-16b.tiff \
|
2012-06-01 17:04:22 -04:00
|
|
|
images/rgb-3c-8b.tiff \
|
2017-08-28 11:43:14 -04:00
|
|
|
images/quad-tile.jpg.tiff \
|
|
|
|
images/quad-lzw-compat.tiff
|
2009-08-23 16:19:40 -04:00
|
|
|
|
2009-08-28 13:46:01 -04:00
|
|
|
PNMIMAGES = \
|
|
|
|
images/minisblack-1c-8b.pgm \
|
|
|
|
images/miniswhite-1c-1b.pbm \
|
|
|
|
images/rgb-3c-8b.ppm
|
|
|
|
|
2009-08-23 16:19:40 -04:00
|
|
|
# This list should include all of the files in the 'images'
|
2009-08-23 18:58:25 -04:00
|
|
|
# subdirectory which are intended to be distributed. This may include
|
|
|
|
# files which are not currently used by the tests.
|
2009-08-23 16:19:40 -04:00
|
|
|
IMAGES_EXTRA_DIST = \
|
|
|
|
images/README.txt \
|
2009-08-28 13:46:01 -04:00
|
|
|
$(PNMIMAGES) \
|
2009-08-23 16:19:40 -04:00
|
|
|
$(TIFFIMAGES)
|
2007-09-19 17:51:00 -04:00
|
|
|
|
2008-04-15 10:19:08 -04:00
|
|
|
noinst_HEADERS = tifftest.h
|
|
|
|
|
2004-09-03 11:03:34 -04:00
|
|
|
ascii_tag_SOURCES = ascii_tag.c
|
|
|
|
ascii_tag_LDADD = $(LIBTIFF)
|
2004-10-01 10:16:37 -04:00
|
|
|
long_tag_SOURCES = long_tag.c check_tag.c
|
2004-09-10 09:46:21 -04:00
|
|
|
long_tag_LDADD = $(LIBTIFF)
|
2004-10-01 10:16:37 -04:00
|
|
|
short_tag_SOURCES = short_tag.c check_tag.c
|
2004-09-13 06:33:57 -04:00
|
|
|
short_tag_LDADD = $(LIBTIFF)
|
2004-10-09 14:36:47 -04:00
|
|
|
strip_rw_SOURCES = strip_rw.c strip.c test_arrays.c test_arrays.h
|
2004-09-14 11:01:16 -04:00
|
|
|
strip_rw_LDADD = $(LIBTIFF)
|
2008-01-01 08:57:21 -05:00
|
|
|
rewrite_SOURCES = rewrite_tag.c
|
|
|
|
rewrite_LDADD = $(LIBTIFF)
|
2012-06-01 17:04:22 -04:00
|
|
|
raw_decode_SOURCES = raw_decode.c
|
|
|
|
raw_decode_LDADD = $(LIBTIFF)
|
2012-06-06 00:58:29 -04:00
|
|
|
custom_dir_SOURCES = custom_dir.c
|
|
|
|
custom_dir_LDADD = $(LIBTIFF)
|
2004-08-07 14:20:35 -04:00
|
|
|
|
2012-09-20 09:50:27 -04:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/libtiff
|
2004-08-07 14:20:35 -04:00
|
|
|
|
2014-12-06 15:36:14 -05:00
|
|
|
# memcheck: valgrind's memory access checker.
|
|
|
|
#
|
|
|
|
# The suppressions which come with valgrind are sometimes insufficient
|
|
|
|
# to handle certain system library aspects which may be reported and
|
|
|
|
# which are unrelated to libtiff. When first starting with a new
|
|
|
|
# system (or after a major system update), it is good to execute the
|
|
|
|
# test suite (known to already be passing!) like 'make memcheck
|
|
|
|
# VALGRIND_EXTRA_OPTS=--gen-suppressions=all' to create valgrind
|
|
|
|
# suppression entries in the test log. Make sure that none of the
|
|
|
|
# suppressions are due to libtiff itself. Tell valgrind about the
|
|
|
|
# suppressions by creating a .valgrindrc file with content like:
|
|
|
|
# --memcheck:suppressions=mysupp.supp
|
2009-08-23 19:23:19 -04:00
|
|
|
memcheck:
|
2014-12-06 15:36:14 -05:00
|
|
|
$(MAKE) MEMCHECK='valgrind --tool=memcheck --leak-check=full --read-var-info=yes \
|
|
|
|
--error-exitcode=2 --track-origins=yes --num-callers=12 \
|
|
|
|
--quiet $(VALGRIND_EXTRA_OPTS)' check
|
2009-08-23 19:23:19 -04:00
|
|
|
|
|
|
|
# ptrcheck: valgrind's experimental pointer checking tool.
|
|
|
|
ptrcheck:
|
|
|
|
$(MAKE) MEMCHECK='valgrind --tool=exp-ptrcheck --quiet $(VALGRIND_EXTRA_OPTS)' check
|
|
|
|
|
2009-08-23 18:58:25 -04:00
|
|
|
generate-tiff2rgba-tests:
|
|
|
|
for file in $(TIFFIMAGES) ; \
|
|
|
|
do \
|
|
|
|
base=`basename $$file .tiff` ; \
|
|
|
|
testscript=$(srcdir)/tiff2rgba-$$base.sh ; \
|
|
|
|
( \
|
|
|
|
echo "#!/bin/sh" ; \
|
2009-08-23 22:55:05 -04:00
|
|
|
echo "# Generated file, master is Makefile.am" ; \
|
2009-08-23 18:58:25 -04:00
|
|
|
echo ". \$${srcdir:-.}/common.sh" ; \
|
2009-08-23 22:55:05 -04:00
|
|
|
echo "infile=\"\$$srcdir/$$file\"" ; \
|
2009-08-23 18:58:25 -04:00
|
|
|
echo "outfile=\"o-tiff2rgba-$$base.tiff\"" ; \
|
|
|
|
echo "f_test_convert \"\$$TIFF2RGBA\" \$$infile \$$outfile" ; \
|
|
|
|
echo "f_tiffinfo_validate \$$outfile" ; \
|
|
|
|
) > $$testscript ; \
|
|
|
|
chmod +x $$testscript ; \
|
|
|
|
done
|
|
|
|
|
2009-08-23 16:19:40 -04:00
|
|
|
# Test rotations
|
|
|
|
generate-tiffcrop-R90-tests:
|
|
|
|
for file in $(TIFFIMAGES) ; \
|
|
|
|
do \
|
|
|
|
base=`basename $$file .tiff` ; \
|
|
|
|
testscript=$(srcdir)/tiffcrop-R90-$$base.sh ; \
|
|
|
|
( \
|
|
|
|
echo "#!/bin/sh" ; \
|
2009-08-23 22:55:05 -04:00
|
|
|
echo "# Generated file, master is Makefile.am" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
echo ". \$${srcdir:-.}/common.sh" ; \
|
2009-08-23 18:58:25 -04:00
|
|
|
echo "infile=\"\$$srcdir/$$file\"" ; \
|
|
|
|
echo "outfile=\"o-tiffcrop-R90-$$base.tiff\"" ; \
|
|
|
|
echo "f_test_convert \"\$$TIFFCROP -R90\" \$$infile \$$outfile" ; \
|
|
|
|
echo "f_tiffinfo_validate \$$outfile" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
) > $$testscript ; \
|
|
|
|
chmod +x $$testscript ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
# Test flip (mirror)
|
|
|
|
generate-tiffcrop-doubleflip-tests:
|
|
|
|
for file in $(TIFFIMAGES) ; \
|
|
|
|
do \
|
|
|
|
base=`basename $$file .tiff` ; \
|
|
|
|
testscript=$(srcdir)/tiffcrop-doubleflip-$$base.sh ; \
|
|
|
|
( \
|
|
|
|
echo "#!/bin/sh" ; \
|
2009-08-23 22:55:05 -04:00
|
|
|
echo "# Generated file, master is Makefile.am" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
echo ". \$${srcdir:-.}/common.sh" ; \
|
2009-08-23 18:58:25 -04:00
|
|
|
echo "infile=\"\$$srcdir/$$file\"" ; \
|
|
|
|
echo "outfile=\"o-tiffcrop-doubleflip-$$base.tiff\"" ; \
|
|
|
|
echo "f_test_convert \"\$$TIFFCROP -F both\" \$$infile \$$outfile" ; \
|
|
|
|
echo "f_tiffinfo_validate \$$outfile" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
) > $$testscript ; \
|
|
|
|
chmod +x $$testscript ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
# Test extracting a section 100 pixels wide and 100 pixels high
|
|
|
|
generate-tiffcrop-extract-tests:
|
|
|
|
for file in $(TIFFIMAGES) ; \
|
|
|
|
do \
|
|
|
|
base=`basename $$file .tiff` ; \
|
|
|
|
testscript=$(srcdir)/tiffcrop-extract-$$base.sh ; \
|
|
|
|
( \
|
|
|
|
echo "#!/bin/sh" ; \
|
2009-08-23 22:55:05 -04:00
|
|
|
echo "# Generated file, master is Makefile.am" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
echo ". \$${srcdir:-.}/common.sh" ; \
|
2009-08-23 18:58:25 -04:00
|
|
|
echo "infile=\"\$$srcdir/$$file\"" ; \
|
|
|
|
echo "outfile=\"o-tiffcrop-extract-$$base.tiff\"" ; \
|
2009-11-02 13:30:21 -05:00
|
|
|
echo "f_test_convert \"\$$TIFFCROP -U px -E top -X 60 -Y 60\" \$$infile \$$outfile" ; \
|
2009-08-23 18:58:25 -04:00
|
|
|
echo "f_tiffinfo_validate \$$outfile" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
) > $$testscript ; \
|
|
|
|
chmod +x $$testscript ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
# Test extracting the first and fourth quarters from the left side.
|
|
|
|
generate-tiffcrop-extractz14-tests:
|
|
|
|
for file in $(TIFFIMAGES) ; \
|
|
|
|
do \
|
|
|
|
base=`basename $$file .tiff` ; \
|
|
|
|
testscript=$(srcdir)/tiffcrop-extractz14-$$base.sh ; \
|
|
|
|
( \
|
|
|
|
echo "#!/bin/sh" ; \
|
2009-08-23 22:55:05 -04:00
|
|
|
echo "# Generated file, master is Makefile.am" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
echo ". \$${srcdir:-.}/common.sh" ; \
|
2009-08-23 18:58:25 -04:00
|
|
|
echo "infile=\"\$$srcdir/$$file\"" ; \
|
|
|
|
echo "outfile=\"o-tiffcrop-extractz14-$$base.tiff\"" ; \
|
|
|
|
echo "f_test_convert \"\$$TIFFCROP -E left -Z1:4,2:4\" \$$infile \$$outfile" ; \
|
|
|
|
echo "f_tiffinfo_validate \$$outfile" ; \
|
2009-08-23 16:19:40 -04:00
|
|
|
) > $$testscript ; \
|
|
|
|
chmod +x $$testscript ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
generate-tiffcrop-tests: \
|
|
|
|
generate-tiffcrop-R90-tests \
|
|
|
|
generate-tiffcrop-doubleflip-tests \
|
|
|
|
generate-tiffcrop-extract-tests \
|
2009-08-23 18:58:25 -04:00
|
|
|
generate-tiffcrop-extractz14-tests
|
|
|
|
|
|
|
|
generate-tests: \
|
|
|
|
generate-tiff2rgba-tests \
|
2010-12-13 22:27:13 -05:00
|
|
|
generate-tiffcrop-tests
|