1#!/bin/sh
2#
3# Copyright 2004 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
4#
5# This file is part of Magick++, the C++ API for ImageMagick and
6# ImageMagick.  Please see the file "COPYING" included with Magick++
7# for usage and copying restrictions.
8#
9subdir=Magick++/demo
10. ./common.shi
11echo "1..24"
12
13SRCDIR=${top_srcdir}/${subdir}/
14export SRCDIR
15
16cd ${subdir} || exit 1
17
18./analyze "$SRCDIR/model.miff" && echo "ok" || echo "not ok"
19
20for demo in button demo flip gravity piddle shapes
21do
22  ./${demo} && echo "ok" || echo "not ok"
23done
24
25for filter in bessel blackman box catrom cubic gaussian hamming hanning hermite lanczos mitchell point quadratic sample scale sinc triangle
26do
27  ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff  zoom_${filter}_out.miff && echo "ok" || echo "not ok"
28done
29:
30