Commit f333f654f for imagemagick.org
commit f333f654fa0474180f9f7208f60e6422ace04846
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Sun Oct 25 17:55:44 2026 +0100
Added check to test if the tiff coder is available.
diff --git a/tests/cli-tiff.tap b/tests/cli-tiff.tap
index 4906040ef..89dbfd707 100644
--- a/tests/cli-tiff.tap
+++ b/tests/cli-tiff.tap
@@ -18,6 +18,10 @@
#
. ./common.shi
. ${srcdir}/tests/common.shi
+if ! ${MAGICK} -list format | grep -E '^[[:space:]]*TIFF\*?[[:space:]]+(TIFF[[:space:]]+)?rw' >/dev/null; then
+ echo "1..0 # SKIP TIFF coder unavailable"
+ exit 0
+fi
echo "1..1"
${MAGICK} -size 100x100 xc:white -alpha set -colorspace gray \