summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 148406ab..0a7f9ad5 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -55,13 +55,14 @@ XFAIL_TESTS =
CLEANFILES = test_packbits.tif o-*
if HAVE_JPEG
+if TIFF_TOOLS
JPEG_DEPENDENT_CHECK_PROG=raw_decode
JPEG_DEPENDENT_TESTSCRIPTS=\
tiff2rgba-quad-tile.jpg.sh \
tiff2rgba-ojpeg_zackthecat_subsamp22_single_strip.sh \
tiff2rgba-ojpeg_chewey_subsamp21_multi_strip.sh \
tiff2rgba-ojpeg_single_strip_no_rowsperstrip.sh
-
+endif
else
JPEG_DEPENDENT_CHECK_PROG=
JPEG_DEPENDENT_TESTSCRIPTS=
@@ -80,6 +81,7 @@ check_PROGRAMS = \
endif
# Test scripts to execute
+if TIFF_TOOLS
TESTSCRIPTS = \
ppm2tiff_pbm.sh \
ppm2tiff_pgm.sh \
@@ -161,6 +163,9 @@ TESTSCRIPTS = \
testfax3_bug_513.sh \
testdeflatelaststripextradata.sh \
$(JPEG_DEPENDENT_TESTSCRIPTS)
+else
+TESTSCRIPTS=
+endif
# This list should contain the references files
# from the 'refs' subdirectory