# regress.sh SRCDIR TSTFILE [OPTIONS ...]
# Use ../interface/gnugo to run test TSTFILE in SRCDIR (first changing
# directory to SRCDIR). OPTIONS are passed directly to gnugo.
if test ! "$GNUGO" ; then
GNUGO
=`cd ../interface && pwd`/gnugo
if test ! -x "$GNUGO" ; then
echo ERROR
: no such program
: $GNUGO
$GNUGO --quiet "$@" --mode gtp
< $tstfile \
|
awk -f regress.
awk tst
=$tstfile url
=$GNUGO_REGRESSION_URL