File: rwfile_pdf.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 (27 lines) | stat: -rwxr-xr-x 655 bytes parent folder | download | duplicates (5)
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
#!/bin/sh
# Copyright (C) 2004-2012 GraphicsMagick Group
# Test PDF 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 fax jpeg lzw rle zip'

# Number of tests we plan to run
test_plan_fn 24

for compress in ${compress_types}
do
  for type in ${check_types}
  do
    test_command_fn "PDF ${type} ${compress}" -F PS ${MEMCHECK} ${rwfile} -filespec "out_${type}_${compress}_%d" -compress $compress "${SRCDIR}/input_${type}.miff" PDF
  done
done

: