@@ -383,7 +383,7 @@ XFAIL_TESTS = \
383
383
384
384
385
385
# Extra files which should be cleaned by 'make clean'
386
- CLEANFILES = test_packbits.tif deleteme *
386
+ CLEANFILES = test_packbits.tif o- *
387
387
388
388
# Test scripts to execute
389
389
TESTSCRIPTS = \
@@ -444,7 +444,16 @@ TESTSCRIPTS = \
444
444
tiffcrop-R90-palette-1c-8b.sh \
445
445
tiffcrop-R90-rgb-3c-16b.sh \
446
446
tiffcrop-R90-rgb-3c-8b.sh \
447
- tiff2rgba.sh
447
+ tiff2rgba-logluv-3c-16b.sh \
448
+ tiff2rgba-minisblack-1c-16b.sh \
449
+ tiff2rgba-minisblack-1c-8b.sh \
450
+ tiff2rgba-minisblack-2c-8b-alpha.sh \
451
+ tiff2rgba-miniswhite-1c-1b.sh \
452
+ tiff2rgba-palette-1c-1b.sh \
453
+ tiff2rgba-palette-1c-4b.sh \
454
+ tiff2rgba-palette-1c-8b.sh \
455
+ tiff2rgba-rgb-3c-16b.sh \
456
+ tiff2rgba-rgb-3c-8b.sh
448
457
449
458
450
459
# This list should contain all of the TIFF files in the 'images'
@@ -464,7 +473,8 @@ TIFFIMAGES = \
464
473
465
474
466
475
# This list should include all of the files in the 'images'
467
- # subdirectory which are intended to be distributed.
476
+ # subdirectory which are intended to be distributed. This may include
477
+ # files which are not currently used by the tests.
468
478
IMAGES_EXTRA_DIST = \
469
479
images/README.txt \
470
480
$(TIFFIMAGES )
@@ -912,8 +922,26 @@ tiffcrop-R90-rgb-3c-16b.sh.log: tiffcrop-R90-rgb-3c-16b.sh
912
922
@p=' tiffcrop-R90-rgb-3c-16b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
913
923
tiffcrop-R90-rgb-3c-8b.sh.log : tiffcrop-R90-rgb-3c-8b.sh
914
924
@p=' tiffcrop-R90-rgb-3c-8b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
915
- tiff2rgba.sh.log : tiff2rgba.sh
916
- @p=' tiff2rgba.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
925
+ tiff2rgba-logluv-3c-16b.sh.log : tiff2rgba-logluv-3c-16b.sh
926
+ @p=' tiff2rgba-logluv-3c-16b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
927
+ tiff2rgba-minisblack-1c-16b.sh.log : tiff2rgba-minisblack-1c-16b.sh
928
+ @p=' tiff2rgba-minisblack-1c-16b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
929
+ tiff2rgba-minisblack-1c-8b.sh.log : tiff2rgba-minisblack-1c-8b.sh
930
+ @p=' tiff2rgba-minisblack-1c-8b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
931
+ tiff2rgba-minisblack-2c-8b-alpha.sh.log : tiff2rgba-minisblack-2c-8b-alpha.sh
932
+ @p=' tiff2rgba-minisblack-2c-8b-alpha.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
933
+ tiff2rgba-miniswhite-1c-1b.sh.log : tiff2rgba-miniswhite-1c-1b.sh
934
+ @p=' tiff2rgba-miniswhite-1c-1b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
935
+ tiff2rgba-palette-1c-1b.sh.log : tiff2rgba-palette-1c-1b.sh
936
+ @p=' tiff2rgba-palette-1c-1b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
937
+ tiff2rgba-palette-1c-4b.sh.log : tiff2rgba-palette-1c-4b.sh
938
+ @p=' tiff2rgba-palette-1c-4b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
939
+ tiff2rgba-palette-1c-8b.sh.log : tiff2rgba-palette-1c-8b.sh
940
+ @p=' tiff2rgba-palette-1c-8b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
941
+ tiff2rgba-rgb-3c-16b.sh.log : tiff2rgba-rgb-3c-16b.sh
942
+ @p=' tiff2rgba-rgb-3c-16b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
943
+ tiff2rgba-rgb-3c-8b.sh.log : tiff2rgba-rgb-3c-8b.sh
944
+ @p=' tiff2rgba-rgb-3c-8b.sh' ; $(am__check_pre ) $(LOG_COMPILE ) " $$ tst" $(am__check_post )
917
945
.test.log :
918
946
@p=' $<' ; $(am__check_pre ) $(TEST_LOG_COMPILE ) " $$ tst" $(am__check_post )
919
947
@@ -1074,6 +1102,22 @@ uninstall-am:
1074
1102
recheck recheck-html tags uninstall uninstall-am
1075
1103
1076
1104
1105
+ generate-tiff2rgba-tests :
1106
+ for file in $( TIFFIMAGES) ; \
1107
+ do \
1108
+ base=` basename $$ file .tiff` ; \
1109
+ testscript=$(srcdir ) /tiff2rgba-$$ base.sh ; \
1110
+ ( \
1111
+ echo " #!/bin/sh" ; \
1112
+ echo " . \$ ${srcdir:- .} /common.sh" ; \
1113
+ echo " infile=\" $$ srcdir/$$ file\" " ; \
1114
+ echo " outfile=\" o-tiff2rgba-$$ base.tiff\" " ; \
1115
+ echo " f_test_convert \"\$ $TIFF2RGBA \" \$ $infile \$ $outfile " ; \
1116
+ echo " f_tiffinfo_validate \$ $outfile " ; \
1117
+ ) > $$ testscript ; \
1118
+ chmod +x $$ testscript ; \
1119
+ done
1120
+
1077
1121
# Test rotations
1078
1122
generate-tiffcrop-R90-tests :
1079
1123
for file in $( TIFFIMAGES) ; \
@@ -1083,7 +1127,10 @@ generate-tiffcrop-R90-tests:
1083
1127
( \
1084
1128
echo " #!/bin/sh" ; \
1085
1129
echo " . \$ ${srcdir:- .} /common.sh" ; \
1086
- echo " f_test_convert \"\$ $TIFFCROP -R90\" \"\$ $srcdir /$$ file\" \" deleteme-tiffcrop-R90-$$ base.tiff\" " ; \
1130
+ echo " infile=\"\$ $srcdir /$$ file\" " ; \
1131
+ echo " outfile=\" o-tiffcrop-R90-$$ base.tiff\" " ; \
1132
+ echo " f_test_convert \"\$ $TIFFCROP -R90\" \$ $infile \$ $outfile " ; \
1133
+ echo " f_tiffinfo_validate \$ $outfile " ; \
1087
1134
) > $$ testscript ; \
1088
1135
chmod +x $$ testscript ; \
1089
1136
done
@@ -1097,7 +1144,10 @@ generate-tiffcrop-doubleflip-tests:
1097
1144
( \
1098
1145
echo " #!/bin/sh" ; \
1099
1146
echo " . \$ ${srcdir:- .} /common.sh" ; \
1100
- echo " f_test_convert \"\$ $TIFFCROP -F both\" \"\$ $srcdir /$$ file\" \" deleteme-tiffcrop-doubleflip-$$ base.tiff\" " ; \
1147
+ echo " infile=\"\$ $srcdir /$$ file\" " ; \
1148
+ echo " outfile=\" o-tiffcrop-doubleflip-$$ base.tiff\" " ; \
1149
+ echo " f_test_convert \"\$ $TIFFCROP -F both\" \$ $infile \$ $outfile " ; \
1150
+ echo " f_tiffinfo_validate \$ $outfile " ; \
1101
1151
) > $$ testscript ; \
1102
1152
chmod +x $$ testscript ; \
1103
1153
done
@@ -1111,7 +1161,10 @@ generate-tiffcrop-extract-tests:
1111
1161
( \
1112
1162
echo " #!/bin/sh" ; \
1113
1163
echo " . \$ ${srcdir:- .} /common.sh" ; \
1114
- echo " f_test_convert \"\$ $TIFFCROP -U px -E top -X 100 -Y 100\" \"\$ $srcdir /$$ file\" \" deleteme-tiffcrop-extract-$$ base.tiff\" " ; \
1164
+ echo " infile=\"\$ $srcdir /$$ file\" " ; \
1165
+ echo " outfile=\" o-tiffcrop-extract-$$ base.tiff\" " ; \
1166
+ echo " f_test_convert \"\$ $TIFFCROP -U px -E top -X 100 -Y 100\" \$ $infile \$ $outfile " ; \
1167
+ echo " f_tiffinfo_validate \$ $outfile " ; \
1115
1168
) > $$ testscript ; \
1116
1169
chmod +x $$ testscript ; \
1117
1170
done
@@ -1125,7 +1178,10 @@ generate-tiffcrop-extractz14-tests:
1125
1178
( \
1126
1179
echo " #!/bin/sh" ; \
1127
1180
echo " . \$ ${srcdir:- .} /common.sh" ; \
1128
- echo " f_test_convert \"\$ $TIFFCROP -E left -Z1:4,2:4\" \"\$ $srcdir /$$ file\" \" deleteme-tiffcrop-extractz14-$$ base.tiff\" " ; \
1181
+ echo " infile=\"\$ $srcdir /$$ file\" " ; \
1182
+ echo " outfile=\" o-tiffcrop-extractz14-$$ base.tiff\" " ; \
1183
+ echo " f_test_convert \"\$ $TIFFCROP -E left -Z1:4,2:4\" \$ $infile \$ $outfile " ; \
1184
+ echo " f_tiffinfo_validate \$ $outfile " ; \
1129
1185
) > $$ testscript ; \
1130
1186
chmod +x $$ testscript ; \
1131
1187
done
@@ -1136,6 +1192,10 @@ generate-tiffcrop-tests: \
1136
1192
generate-tiffcrop-extract-tests \
1137
1193
generate-tiffcrop-extractz14-tests
1138
1194
1195
+ generate-tests : \
1196
+ generate-tiff2rgba-tests \
1197
+ generate-tiffcrop-tests
1198
+
1139
1199
# Tell versions [3.59,3.63) of GNU make to not export all variables.
1140
1200
# Otherwise a system limit (for SysV at least) may be exceeded.
1141
1201
.NOEXPORT :
0 commit comments