From 03c71dffc5d7bcb4686260b21aaa268d68310613 Mon Sep 17 00:00:00 2001 From: Henning Makholm Date: Sat, 28 Jan 2006 18:00:00 -0500 Subject: Import of release 0.7.1 --- (limited to 'test/dotest') diff --git a/test/dotest b/test/dotest index c444c98..0bb6115 100755 --- a/test/dotest +++ b/test/dotest @@ -19,7 +19,7 @@ export LC_CTYPE=C export LC_MESSAGES=C -TESTFROM=.. +: ${XCFTOOLS_PREFIX=../} totaltests=0 failedtests=0 @@ -70,7 +70,7 @@ testrun() { } testinfo() { - testrun $TESTFROM/xcfinfo "$@" + testrun ${XCFTOOLS_PREFIX}xcfinfo "$@" } testpnm() { @@ -105,7 +105,8 @@ testpnm() { fi source="$1" shift - testrun $TESTFROM/xcf2pnm -@ -oo.$oext $aopt source/$source.xcf.gz "$@" + testrun ${XCFTOOLS_PREFIX}xcf2pnm \ + -@ -oo.$oext $aopt source/$source.xcf.gz "$@" [ -z "$oanswer" ] || cmp o.want o.$oext || failed [ -z "$aanswer" ] || cmp a.want a.pnm || failed } @@ -137,7 +138,7 @@ testpng() { pngtopnm -alpha answer/$answer.png | $afilter > a.want source="$1" shift - testrun $TESTFROM/xcf2png -oo.png source/$source.xcf.gz "$@" + testrun ${XCFTOOLS_PREFIX}xcf2png -oo.png source/$source.xcf.gz "$@" perl pngtype.pl < o.png > pngtype diff -u pngtype.want pngtype || failed pngtopnm $oargs o.png > o.pnm -- cgit v0.9.1