File: rwblob.tap

package info (click to toggle)
graphicsmagick 1.3.20-3+deb8u1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 38,472 kB
  • ctags: 14,330
  • sloc: ansic: 220,724; sh: 24,578; cpp: 18,199; perl: 3,365; makefile: 2,359; tcl: 2,208; python: 1,280
file content (291 lines) | stat: -rwxr-xr-x 6,749 bytes parent folder | download | duplicates (2)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
#!/bin/sh
# Copyright (C) 2004-2012 GraphicsMagick Group
. ./common.shi
. ${top_srcdir}/tests/common.shi

# Test program
rwblob=./rwblob

# Types we will test
check_types='bilevel gray pallette truecolor'

# Number of tests we plan to run
test_plan_fn 184

# AVS format
for type in ${check_types}
do
  test_command_fn "AVS ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" AVS
done

# BMP format
for type in ${check_types}
do
  test_command_fn "BMP ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" BMP
done

# CALS format
for type in ${check_types}
do
  test_command_fn "CALS ${type}" -F TIFF ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" CALS
done

# CIN format
for type in ${check_types}
do
  test_command_fn "CIN ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" CIN
done

# DIB format
for type in ${check_types}
do
  test_command_fn "DIB ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" DIB
done

# DPX format
for type in ${check_types}
do
  test_command_fn "DPX ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" DPX
done

# EPDF format
for type in ${check_types}
do
  test_command_fn "EPDF ${type}" -F 'PS' ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" EPDF
done

# EPT format
for type in ${check_types}
do
  test_command_fn "EPT ${type}" -F 'PS TIFF' ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" EPT
done

# FAX format
for type in ${check_types}
do
  test_command_fn "FAX ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" FAX
done

# FPX format
for type in ${check_types}
do
  test_command_fn "FPX ${type}" -F FPX ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" FPX
done

# G3 format
for type in ${check_types}
do
  test_command_fn "G3 ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" G3
done

# FITS format
for type in ${check_types}
do
  test_command_fn "FITS ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" FITS
done

# GIF format
for type in ${check_types}
do
  test_command_fn "GIF ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" GIF
done

# GIF87 format
for type in ${check_types}
do
  test_command_fn "GIF87 ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" GIF87
done

# JBIG format
for type in ${check_types}
do
  test_command_fn "JBIG ${type}" -F JBIG ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" JBIG
done

# JPEG format
for type in ${check_types}
do
  test_command_fn "JPEG ${type}" -F JPEG ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" JPEG
done

# JP2 format
for type in ${check_types}
do
  test_command_fn "JP2 ${type}" -F JP2 ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" JP2
done

# MAT format
for type in ${check_types}
do
  test_command_fn "MAT ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" MAT
done

# MIFF format
for type in ${check_types}
do
  test_command_fn "MIFF ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" MIFF
done

# MNG format
for type in ${check_types}
do
  test_command_fn "MNG ${type}" -F PNG ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" MNG
done

# MTV format
for type in ${check_types}
do
  test_command_fn "MTV ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" MTV
done

# P7 format
for type in ${check_types}
do
  test_command_fn "P7 ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" P7
done

# PBM format
for type in ${check_types}
do
  test_command_fn "PBM ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PBM
done

# PCD format
for type in ${check_types}
do
  test_command_fn "PCD ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PCD
done

# PCDS format
for type in ${check_types}
do
  test_command_fn "PCDS ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PCDS
done

# PCX format
for type in ${check_types}
do
  test_command_fn "PCX ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PCX
done

# PGM format
for type in ${check_types}
do
  test_command_fn "PGM ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PGM
done

# PICON format
for type in ${check_types}
do
  test_command_fn "PICON ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PICON
done

# PICT format
for type in ${check_types}
do
  test_command_fn "PICT ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PICT
done

# PNG format
for type in ${check_types}
do
  test_command_fn "PNG ${type}" -F PNG ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PNG
done

# PPM format
for type in ${check_types}
do
  test_command_fn "PPM ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" PPM
done

# RAS format
for type in ${check_types}
do
  test_command_fn "RAS ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" RAS
done

# SGI format
for type in ${check_types}
do
  test_command_fn "SGI ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" SGI
done

# SUN format
for type in ${check_types}
do
  test_command_fn "SUN ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" SUN
done

# TGA format
for type in ${check_types}
do
  test_command_fn "TGA ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" TGA
done

# TIFF format
for type in ${check_types}
do
  test_command_fn "TIFF ${type}" -F TIFF ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" TIFF
done

# TXT format
for type in ${check_types}
do
  test_command_fn "TXT ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" TXT
done

# VDA format
for type in ${check_types}
do
  test_command_fn "VDA ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" VDA
done

# VICAR format
for type in ${check_types}
do
  test_command_fn "VICAR ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" VICAR
done

# VIFF format
for type in ${check_types}
do
  test_command_fn "VIFF ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" VIFF
done

# VST format
for type in ${check_types}
do
  test_command_fn "VST ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" VST
done

# WBMP format
for type in ${check_types}
do
  test_command_fn "WBMP ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" WBMP
done

# WEBP format
for type in ${check_types}
do
  test_command_fn "WEBP ${type}" -F WEBP ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" WEBP
done

# XBM format
for type in ${check_types}
do
  test_command_fn "XBM ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" XBM
done

# XPM format
for type in ${check_types}
do
  test_command_fn "XPM ${type}" ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" XPM
done

# XWD format
for type in ${check_types}
do
  test_command_fn "XWD ${type}" -F X ${MEMCHECK} ${rwblob} "${SRCDIR}/input_${type}.miff" XWD
done

: