3 # This file is part of Shapes.
5 # Shapes is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
10 # Shapes is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with Shapes. If not, see <http://www.gnu.org/licenses/>.
18 # Copyright 2008 Gustaf Hendeby
20 if test "X${srcdir}" = "X"
27 CORRECT
=${srcdir}/FNAME.correct
*.pdf
32 for corr
in ${CORRECT}
34 if test "$(compare -density 150 -metric AE \
35 ${corr} ${OUTPUT} /dev/null 2>&1)" -eq 0
42 test -f ${OUTPUT} -a ! -f out
/FNAME.error
50 Expected output : ${CORRECT}
62 for corr
in ${CORRECT}
64 compare
-verbose -density 150 \
65 ${corr} ${OUTPUT} /dev
/null
>> $LOG 2>&1
75 if test $# -gt 0 && test "$1" -gt 0