From: cristy Date: Thu, 13 Sep 2012 00:53:56 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4949 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28e9f3552ab4c0c1a559bfb46dbf4626c58040fd;p=imagemagick --- diff --git a/tests/common.shi b/tests/common.shi new file mode 100644 index 000000000..06193414e --- /dev/null +++ b/tests/common.shi @@ -0,0 +1,10 @@ +# 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