File: constitute.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 (26 lines) | stat: -rwxr-xr-x 700 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
#!/bin/sh
# -*- shell-script -*-
# Copyright (C) 2004-2012 GraphicsMagick Group
# Test raw image encode/decode in memory.
. ./common.shi
. ${top_srcdir}/tests/common.shi
num_tests=0
storage_types='char short integer long float double'
constitute_maps='bgr bgro bgrp rgb rgba rgbt rgbo prgb cmy cmyk i'
for storage_type in ${storage_types}
do
  for map in ${constitute_maps}
  do
    num_tests=`expr ${num_tests} + 1`
  done
done
infile=${SRCDIR}/input_truecolor.miff
test_plan_fn ${num_tests}
for storage_type in ${storage_types}
do
  for map in ${constitute_maps}
  do
    test_command_fn "${storage_type} ${map}" ${MEMCHECK} ./constitute -storagetype ${storage_type} ${infile} ${map}
  done
done
: