Skip to content

Commit 94f6f73

Browse files
committed
Fix test dependency on tiff2rgba-32BPP that breaks 'make check -jX'
1 parent b535e2b commit 94f6f73

5 files changed

+5
-4
lines changed

test/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ set(UNCOMPRESSEDIMAGES
9494
set(IMAGES_EXTRA_DIST
9595
images/README.txt
9696
images/miniswhite-1c-1b.g3
97+
images/32bpp-None-jpeg.tiff
9798
${BMPIMAGES}
9899
${GIFIMAGES}
99100
${PNMIMAGES}
@@ -446,8 +447,7 @@ if(tiff-tools)
446447

447448
add_convert_test(tiff2rgba 32BPP "-B 255 -n" "images/32bpp-None.tiff" TRUE)
448449
if(JPEG_SUPPORT)
449-
# use output of tiff2rgba-32BPP as input!
450-
add_convert_test_multi_out_in(tiffcp "" "" 32BPP-JPEG "-c jpeg" "" "" "tiff2rgba-32BPP-32bpp-None.tiff" TRUE)
450+
add_convert_test(tiffcp 32BPP-JPEG "-c jpeg" "images/32bpp-None-jpeg.tiff" TRUE)
451451
endif()
452452

453453
if(JBIG_SUPPORT)

test/Makefile.am

+1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ IMAGES_EXTRA_DIST = \
247247
images/test_two_ifds.tif \
248248
images/test_ifd_loop_subifd.tif \
249249
images/webp_lossless_rgba_alpha_fully_opaque.tif \
250+
images/32bpp-None-jpeg.tiff \
250251
$(PNMIMAGES) \
251252
$(TIFFIMAGES)
252253

test/images/32bpp-None-jpeg.tiff

4.59 KB
Binary file not shown.

test/tiffcp-32bpp-None-jpeg.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# Generated file, master is Makefile.am
33
. ${srcdir:-.}/common.sh
4-
infile="o-tiff2rgba-32bpp-None-jpeg.tiff"
4+
infile="$srcdir/images/32bpp-None-jpeg.tiff"
55
outfile="o-tiffcp-32bpp-None-jpeg-YCbCr.tiff"
66
f_test_convert "${TIFFCP} -c jpeg" $infile $outfile
77
f_tiffinfo_validate $outfile

test/tiffcrop-32bpp-None-jpeg.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# Generated file, master is Makefile.am
33
. ${srcdir:-.}/common.sh
4-
infile="o-tiff2rgba-32bpp-None-jpeg.tiff"
4+
infile="$srcdir/images/32bpp-None-jpeg.tiff"
55
outfile="o-tiffcp-32bpp-None-jpeg-YCbCr.tiff"
66
f_test_convert "${TIFFCROP} -c jpeg" $infile $outfile
77
f_tiffinfo_validate $outfile

0 commit comments

Comments
 (0)