blob: 0e0d4cca8b285756b4ddf5f5a89d0fedabb8fd11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
# Copyright (C) 2004-2013 GraphicsMagick Group
# Test MIFF format with various storage and compression types
. ./common.shi
. ${top_srcdir}/tests/common.shi
# Test program
rwfile=./rwfile
# Storage types we will test
check_types='bilevel gray pallette truecolor'
# Comression types we will test
compress_types='none bzip zip rle'
# Depths we will test
depths='8 16 32'
# Number of tests we plan to run
test_plan_fn 48
for compress in ${compress_types}
do
for type in ${check_types}
do
for depth in ${depths}
do
test_command_fn "MIFF ${compress} ${type}" ${MEMCHECK} ${rwfile} -filespec "out_${type}_${compress}_%d" -compress ${compress} -depth ${depth} "${SRCDIR}/input_${type}.miff" MIFF
done
done
done
:
|