]> granicus.if.org Git - imagemagick/blobdiff - tests/common.shi
(no commit message)
[imagemagick] / tests / common.shi
index 04299aa2f81b111fb19633c64f15780b6bafa8a7..06193414ea77d819b42b83fe8edb37c72a7c9cc6 100644 (file)
@@ -1,20 +1,10 @@
 # Test environment
-top_srcdir='/home/cristy/ImageMagick/ImageMagick'
-top_builddir='/home/cristy/ImageMagick/ImageMagick'
-
-set -a
-COMPARE="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/utilities/compare"
-COMPOSITE="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/utilities/composite"
-CONJURE="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/utilities/conjure"
-CONVERT="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/utilities/convert"
-DISPLAY="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/utilities/display"
-IDENTIFY="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/utilities/identify"
-MONTAGE="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/utilities/montage"
-VALIDATE="$(MEMCHECK) /home/cristy/ImageMagick/ImageMagick/tests/validate"
-LD_LIBRARY_PATH="/home/cristy/ImageMagick/ImageMagick/magick/.libs:${LD_LIBRARY_PATH}"
-MAGICK_CODER_MODULE_PATH='/home/cristy/ImageMagick/ImageMagick/coders'
-MAGICK_CONFIGURE_PATH='/home/cristy/ImageMagick/ImageMagick/config:/home/cristy/ImageMagick/ImageMagick/config'
-MAGICK_FILTER_MODULE_PATH='/home/cristy/ImageMagick/ImageMagick/filters'
-PATH="/home/cristy/ImageMagick/ImageMagick/utilities:${PATH}"
-SRCDIR=$(SRCDIR)
-set +a
+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