~ubuntu-branches/ubuntu/intrepid/graphicsmagick/intrepid

« back to all changes in this revision

Viewing changes to Magick++/tests/test_coderInfo.sh

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-05-06 16:28:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060506162808-vt2ni3r5nytcszms
Tags: upstream-1.1.7
ImportĀ upstreamĀ versionĀ 1.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
 
4
#
 
5
# This file is part of Magick++, the C++ API for GraphicsMagick and
 
6
# ImageMagick.  Please see the file "COPYING" included with Magick++
 
7
# for usage and copying restrictions.
 
8
#
 
9
executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
 
10
 
 
11
outfile="test_${executable}.out"
 
12
 
 
13
rm -f $outfile
 
14
${RUNENV} ${MEMCHECK} "./${executable}" 2>&1 > $outfile
 
15
status=$?
 
16
if test $status -eq 1
 
17
then
 
18
  cat $outfile
 
19
fi
 
20
rm -f $outfile
 
21
exit $status
 
22
 
 
23