]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 13 Sep 2012 00:53:56 +0000 (00:53 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 13 Sep 2012 00:53:56 +0000 (00:53 +0000)
tests/common.shi [new file with mode: 0644]

diff --git a/tests/common.shi b/tests/common.shi
new file mode 100644 (file)
index 0000000..0619341
--- /dev/null
@@ -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