diff options
Diffstat (limited to 'tests/rwfile.tap')
-rwxr-xr-x | tests/rwfile.tap | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/tests/rwfile.tap b/tests/rwfile.tap index 8ebf7ac..f3f9c2c 100755 --- a/tests/rwfile.tap +++ b/tests/rwfile.tap @@ -1,6 +1,6 @@ #!/bin/sh # -*- shell-script -*- -# Copyright (C) 2004-2017 GraphicsMagick Group +# Copyright (C) 2004-2023 GraphicsMagick Group . ./common.shi . ${top_srcdir}/tests/common.shi @@ -8,10 +8,11 @@ rwfile=./rwfile # Types we will test -check_types='bilevel gray pallette truecolor' +check_types='bilevel gray pallette truecolor truecolor_1x266' +check_types_noone='bilevel gray pallette truecolor' # Number of tests we plan to run -test_plan_fn 656 +test_plan_fn 838 # 828 # ART format for type in ${check_types} @@ -331,7 +332,7 @@ do done # PICT format -for type in ${check_types} +for type in ${check_types_noone} do test_command_fn "PICT ${type}" ${MEMCHECK} ${rwfile} -filespec "out_${type}_%d" "${SRCDIR}/input_${type}.miff" PICT test_command_fn "PICT ${type} (stdio)" ${MEMCHECK} ${rwfile} -stdio -filespec "out_${type}_stdio_%d" "${SRCDIR}/input_${type}.miff" PICT @@ -426,6 +427,13 @@ do test_command_fn "TGA ${type} (stdio)" ${MEMCHECK} ${rwfile} -stdio -filespec "out_${type}_stdio_%d" "${SRCDIR}/input_${type}.miff" TGA done +# TOPOL format +for type in ${check_types} +do + test_command_fn "TOPOL ${type}" ${MEMCHECK} ${rwfile} -filespec "out_${type}_%d" "${SRCDIR}/input_${type}.miff" TOPOL + test_command_fn "TOPOL ${type} (stdio)" ${MEMCHECK} ${rwfile} -stdio -filespec "out_${type}_stdio_%d" "${SRCDIR}/input_${type}.miff" TOPOL +done + # TXT format for type in ${check_types} do @@ -489,6 +497,13 @@ do test_command_fn "WEBP ${type} (lossless)" -F WEBP ${MEMCHECK} ${rwfile} -filespec "out_${type}_lossless_%d" -define webp:lossless=true "${SRCDIR}/input_${type}.miff" WEBP done +# WPG format +for type in ${check_types} +do + test_command_fn "WPG ${type}" ${MEMCHECK} ${rwfile} -filespec "out_${type}_%d" "${SRCDIR}/input_${type}.miff" WPG + test_command_fn "WPG ${type} (stdio)" ${MEMCHECK} ${rwfile} -stdio -filespec "out_${type}_stdio_%d" "${SRCDIR}/input_${type}.miff" WPG +done + # XBM format for type in ${check_types} do |