imagemagick/tests/common.shi

12 lines
287 B
Plaintext

# Test environment
SRCDIR=`dirname $0`
SRCDIR=`cd $SRCDIR && pwd`
TOPSRCDIR=`cd $srcdir && pwd`
REFERENCE_IMAGE="${TOPSRCDIR}/images/rose.pnm"
. ./common.shi
[ "X$CONVERT" = "X" ] && CONVERT=convert
[ "X$IDENTIFY" = "X" ] && IDENTIFY=identify
export SRCDIR TOPSRCDIR
cd tests || exit 1