Magick++/lib/ImageMagick++.pc
MAGICKPP_TEST_SCRIPTS_OPT = \
- Magick++/tests/exceptions.sh \
- Magick++/tests/appendImages.sh \
- Magick++/tests/attributes.sh \
- Magick++/tests/averageImages.sh \
- Magick++/tests/coalesceImages.sh \
- Magick++/tests/coderInfo.sh \
- Magick++/tests/colorHistogram.sh \
- Magick++/tests/color.sh \
- Magick++/tests/montageImages.sh \
- Magick++/tests/morphImages.sh \
- Magick++/tests/readWriteBlob.sh \
- Magick++/tests/readWriteImages.sh \
- Magick++/demo/analyze.sh \
- Magick++/demo/button.sh \
- Magick++/demo/demo.sh \
- Magick++/demo/flip.sh \
- Magick++/demo/gravity.sh \
- Magick++/demo/piddle.sh \
- Magick++/demo/shapes.sh \
- Magick++/demo/zoom_bessel.sh \
- Magick++/demo/zoom_blackman.sh \
- Magick++/demo/zoom_box.sh \
- Magick++/demo/zoom_catrom.sh \
- Magick++/demo/zoom_cubic.sh \
- Magick++/demo/zoom_gaussian.sh \
- Magick++/demo/zoom_hamming.sh \
- Magick++/demo/zoom_hanning.sh \
- Magick++/demo/zoom_hermite.sh \
- Magick++/demo/zoom_lanczos.sh \
- Magick++/demo/zoom_mitchell.sh \
- Magick++/demo/zoom_point.sh \
- Magick++/demo/zoom_quadratic.sh \
- Magick++/demo/zoom_sample.sh \
- Magick++/demo/zoom_scale.sh \
- Magick++/demo/zoom_sinc.sh \
- Magick++/demo/zoom_triangle.sh
+ Magick++/tests/tests.tap \
+ Magick++/demo/demos.tap
MAGICKPP_EXTRA_DIST = \
Magick++/AUTHORS \
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} ./analyze "$SRCDIR/model.miff" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} "./${executable}" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} "./${executable}" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
--- /dev/null
+#!/bin/sh
+#
+# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
+#
+# This file is part of Magick++, the C++ API for ImageMagick and
+# ImageMagick. Please see the file "COPYING" included with Magick++
+# for usage and copying restrictions.
+#
+SRCDIR=`dirname $0`
+SRCDIR=`cd $SRCDIR && pwd`/
+echo "1..24"
+
+cd Magick++/demo || exit 1
+
+./analyze "$SRCDIR/model.miff" && echo "ok" || echo "not ok"
+
+for demo in button demo flip gravity piddle shapes
+do
+ ${demo} && echo "ok" || echo "not ok"
+done
+
+for filter in bessel blackman box catrom cubic gaussian hamming hanning hermite lanczos mitchell point quadratic sample scale sinc triangle
+do
+ ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff && echo "ok" || echo "not ok"
+done
+:
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} "./${executable}" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} "./${executable}" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} "./${executable}" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} "./${executable}" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-executable=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-
-outfile="test_${executable}.out"
-
-rm -f $outfile
-${MEMCHECK} "./${executable}" 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
+++ /dev/null
-#!/bin/sh
-#
-# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
-#
-# This file is part of Magick++, the C++ API for ImageMagick and
-# ImageMagick. Please see the file "COPYING" included with Magick++
-# for usage and copying restrictions.
-#
-
-SRCDIR=`dirname $0`
-SRCDIR=`cd $SRCDIR; pwd`/
-export SRCDIR
-cd Magick++/demo || exit 1
-
-base_test=`echo $0 | sed -e 's:.*/::g;s:test_::;s:\.sh::'`
-executable=`echo $base_test | sed -e 's:_.*$::'`
-filter=`echo $base_test | sed -e 's:.*_::'`
-
-outfile="test_${base_test}.out"
-
-rm -f $outfile
-${MEMCHECK} ./$executable -filter $filter -geometry 600x600 ${SRCDIR}/model.miff ${executable}_${filter}_out.miff 2>&1 > $outfile
-status=$?
-if test $status -eq 1
-then
- cat $outfile
-fi
-rm -f $outfile
-exit $status
-
-
cd Magick++/tests || exit 1
-tests='appendImages attributes averageImages coalesceImages coderInfo color
- colorHistogram exceptions montageImages morphImages readWriteBlob readWriteImages'
-
-for mytest in $tests
+for mytest in appendImages attributes averageImages coalesceImages coderInfo color colorHistogram exceptions montageImages morphImages readWriteBlob readWriteImages
do
- ./mytest && echo "ok" || echo "not ok"
+ ${mytest} && echo "ok" || echo "not ok"
done
:
*/
#define MagickPackageName "ImageMagick"
#define MagickCopyright "Copyright (C) 1999-2012 ImageMagick Studio LLC"
-#define MagickSVNRevision "9013:9032M"
+#define MagickSVNRevision "9013:9036M"
#define MagickLibVersion 0x700
#define MagickLibVersionText "7.0.0"
#define MagickLibVersionNumber 7,0,0
. ${srcdir}/MagickWand/common.shi
echo "1..1"
-${MEMCHECK} ./drawtest drawtest_out.miff && echo "ok" || echo "not ok"
+./drawtest drawtest_out.miff && echo "ok" || echo "not ok"
:
#
set -e # Exit on any error
-. ${srcdir}/MagickWand/common.sh
+. ${srcdir}/MagickWand/common.shi
echo "1..1"
-${MEMCHECK} ./wandtest wandtest_out.miff -validate compare && echo "ok" || echo "not ok"
+./wandtest wandtest_out.miff -validate compare && echo "ok" || echo "not ok"
:
Magick++/lib/ImageMagick++.pc
MAGICKPP_TEST_SCRIPTS_OPT = \
- Magick++/tests/exceptions.sh \
- Magick++/tests/appendImages.sh \
- Magick++/tests/attributes.sh \
- Magick++/tests/averageImages.sh \
- Magick++/tests/coalesceImages.sh \
- Magick++/tests/coderInfo.sh \
- Magick++/tests/colorHistogram.sh \
- Magick++/tests/color.sh \
- Magick++/tests/montageImages.sh \
- Magick++/tests/morphImages.sh \
- Magick++/tests/readWriteBlob.sh \
- Magick++/tests/readWriteImages.sh \
- Magick++/demo/analyze.sh \
- Magick++/demo/button.sh \
- Magick++/demo/demo.sh \
- Magick++/demo/flip.sh \
- Magick++/demo/gravity.sh \
- Magick++/demo/piddle.sh \
- Magick++/demo/shapes.sh \
- Magick++/demo/zoom_bessel.sh \
- Magick++/demo/zoom_blackman.sh \
- Magick++/demo/zoom_box.sh \
- Magick++/demo/zoom_catrom.sh \
- Magick++/demo/zoom_cubic.sh \
- Magick++/demo/zoom_gaussian.sh \
- Magick++/demo/zoom_hamming.sh \
- Magick++/demo/zoom_hanning.sh \
- Magick++/demo/zoom_hermite.sh \
- Magick++/demo/zoom_lanczos.sh \
- Magick++/demo/zoom_mitchell.sh \
- Magick++/demo/zoom_point.sh \
- Magick++/demo/zoom_quadratic.sh \
- Magick++/demo/zoom_sample.sh \
- Magick++/demo/zoom_scale.sh \
- Magick++/demo/zoom_sinc.sh \
- Magick++/demo/zoom_triangle.sh
+ Magick++/tests/tests.tap \
+ Magick++/demo/demos.tap
MAGICKPP_EXTRA_DIST = \
Magick++/AUTHORS \
<configure name="VERSION" value="7.0.0"/>
<configure name="LIB_VERSION" value="0x700"/>
<configure name="LIB_VERSION_NUMBER" value="7,0,0,0"/>
- <configure name="SVN_REVISION" value="9013:9032M" />
+ <configure name="SVN_REVISION" value="9013:9036M" />
<configure name="RELEASE_DATE" value="2012-08-21"/>
<configure name="CONFIGURE" value="./configure "/>
<configure name="PREFIX" value="/usr/local"/>
MAGICK_LIBRARY_VERSION_INFO=$MAGICK_LIBRARY_CURRENT:$MAGICK_LIBRARY_REVISION:$MAGICK_LIBRARY_AGE
-MAGICK_SVN_REVISION=9013:9032M
+MAGICK_SVN_REVISION=9013:9036M
# limitations under the License.
#
. ${srcdir}/tests/common.shi
-echo "1..1"
+echo "1..19"
depth=`eval ${MAGICK} xc:none -format '%[fx:QuantumRange]' info:-`
if [ "X$depth" == "X255" ]; then
color=`eval ${MAGICK} "$in" $cs "$out"`
if [ "X$color" = "X$average" ]; then
- printf "$format" "$test" "good"
- return
+ return 0
fi
# Its failed the round-trip test, now report how it failed!
error=true
if [ "X$color" = "X$too_light" ]; then
- printf "$format" "$test" "TOO_LIGHT"
- return
+ return 1
fi
if [ "X$color" = "X$too_dark" ]; then
- printf "$format" "$test" "TOO_DARK"
- return
+ return 1
fi
- printf "$format" "$test" "UNKNOWN COLOR (expect $average, got $color)"
+ return 1
}
# ----------------
-test_color RGB sRGB # round trip (parts tested above)
+test_color RGB sRGB && echo "ok" || echo "not ok"
-test_color XYZ sRGB
-test_color XYZ RGB sRGB
-test_color RGB XYZ sRGB
+test_color XYZ sRGB && echo "ok" || echo "not ok"
+test_color XYZ RGB sRGB && echo "ok" || echo "not ok"
+test_color RGB XYZ sRGB && echo "ok" || echo "not ok"
-test_color LAB sRGB
-test_color XYZ LAB sRGB
-test_color LAB XYZ sRGB
-test_color RGB LAB sRGB
-test_color LAB RGB sRGB
+test_color LAB sRGB && echo "ok" || echo "not ok"
+test_color XYZ LAB sRGB && echo "ok" || echo "not ok"
+test_color LAB XYZ sRGB && echo "ok" || echo "not ok"
+test_color RGB LAB sRGB && echo "ok" || echo "not ok"
+test_color LAB RGB sRGB && echo "ok" || echo "not ok"
-test_color CMY sRGB
-test_color CMYK sRGB
-test_color HSL sRGB
-test_color HSB sRGB
-test_color HWB sRGB
-test_color Log sRGB
-test_color YIQ sRGB
-test_color YUV sRGB
-test_color YCbCr sRGB
-test_color OHTA sRGB
-
-$error && exit 1 # return the overall error result
-exit 0
+test_color CMY sRGB && echo "ok" || echo "not ok"
+test_color CMYK sRGB && echo "ok" || echo "not ok"
+test_color HSL sRGB && echo "ok" || echo "not ok"
+test_color HSB sRGB && echo "ok" || echo "not ok"
+test_color HWB sRGB && echo "ok" || echo "not ok"
+test_color Log sRGB && echo "ok" || echo "not ok"
+test_color YIQ sRGB && echo "ok" || echo "not ok"
+test_color YUV sRGB && echo "ok" || echo "not ok"
+test_color YCbCr sRGB && echo "ok" || echo "not ok"
+test_color OHTA sRGB && echo "ok" || echo "not ok"
:
set -e # Exit on any error
[ "X$srcdir" = "X" ] && srcdir=`pwd`
. ${srcdir}/tests/common.shi
-echo "1..1"
+echo "1..17"
-${MAGICK} pnm:- null: < ${REFERENCE_IMAGE}
-${MAGICK} pnm:- info: < ${REFERENCE_IMAGE}
-${MAGICK} pnm:- miff:- < ${REFERENCE_IMAGE} | ${IDENTIFY} -
-${MAGICK} pnm:- - < ${REFERENCE_IMAGE} | ${IDENTIFY} -
-${MAGICK} ${REFERENCE_IMAGE} -write null: null:
-${MAGICK} ${REFERENCE_IMAGE} -write info: null:
-${MAGICK} ${REFERENCE_IMAGE} -write miff:- null: | ${IDENTIFY} -
-${MAGICK} ${REFERENCE_IMAGE} -write - null: | ${IDENTIFY} -
+${MAGICK} pnm:- null: < ${REFERENCE_IMAGE} && echo "ok" || echo "not ok"
+${MAGICK} pnm:- info: < ${REFERENCE_IMAGE} && echo "ok" || echo "not ok"
+${MAGICK} pnm:- miff:- < ${REFERENCE_IMAGE} | ${IDENTIFY} - && echo "ok" || echo "not ok"
+${MAGICK} pnm:- - < ${REFERENCE_IMAGE} | ${IDENTIFY} - && echo "ok" || echo "not ok"
+${MAGICK} ${REFERENCE_IMAGE} -write null: null: && echo "ok" || echo "not ok"
+${MAGICK} ${REFERENCE_IMAGE} -write info: null: && echo "ok" || echo "not ok"
+${MAGICK} ${REFERENCE_IMAGE} -write miff:- null: | ${IDENTIFY} - && echo "ok" || echo "not ok"
+${MAGICK} ${REFERENCE_IMAGE} -write - null: | ${IDENTIFY} - && echo "ok" || echo "not ok"
# IMv7 "magick" testing
# -read option
-${MAGICK} -read ${REFERENCE_IMAGE} info:
+${MAGICK} -read ${REFERENCE_IMAGE} info: && echo "ok" || echo "not ok"
# -exit can be used insted of implicit write
-${MAGICK} ${REFERENCE_IMAGE} -write info: -exit
+${MAGICK} ${REFERENCE_IMAGE} -write info: -exit && echo "ok" || echo "not ok"
# null: does not require an image during write
-${MAGICK} -write null: -exit
+${MAGICK} -write null: -exit && echo "ok" || echo "not ok"
# implied write null: without image
-${MAGICK} ${REFERENCE_IMAGE} -write info: +delete null:
+${MAGICK} ${REFERENCE_IMAGE} -write info: +delete null: && echo "ok" || echo "not ok"
# Write to file decriptor
-${MAGICK} ${REFERENCE_IMAGE} fd:6 6>&1 | ${IDENTIFY} -
+${MAGICK} ${REFERENCE_IMAGE} fd:6 6>&1 | ${IDENTIFY} - && echo "ok" || echo "not ok"
# Read from file decriptor
exec 5<${REFERENCE_IMAGE}
-${MAGICK} fd:5 info:
+${MAGICK} fd:5 info: && echo "ok" || echo "not ok"
exec 5<&-
# pipelined magick script
-echo "-read ${REFERENCE_IMAGE} -write info:" | ${MAGICK} -script -
+echo "-read ${REFERENCE_IMAGE} -write info:" | ${MAGICK} -script - && echo "ok" || echo "not ok"
# pipelined magick script, input image pre-read
-echo "-write info:" | ${MAGICK} ${REFERENCE_IMAGE} -script -
+echo "-write info:" | ${MAGICK} ${REFERENCE_IMAGE} -script - && echo "ok" || echo "not ok"
# pipelined script from file descriptor, read image from stdin
echo "-read pnm:- -write info:" |\
- ${MAGICK} -script fd:5 5<&0 <${REFERENCE_IMAGE}
+ ${MAGICK} -script fd:5 5<&0 <${REFERENCE_IMAGE} && echo "ok" || echo "not ok"
: