19 lines
393 B
Bash
19 lines
393 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if test ! "$GNUGO"; then
|
||
|
GNUGO=../interface/gnugo
|
||
|
fi
|
||
|
|
||
|
if test ! "$RD"; then
|
||
|
RD=.
|
||
|
fi
|
||
|
|
||
|
tstfile=$1
|
||
|
options1=$2 # May be omitted
|
||
|
options2=$3 # May be omitted
|
||
|
options3=$4 # May be omitted
|
||
|
options4=$5 # May be omitted FIXME: Do multiple options better.
|
||
|
|
||
|
$GNUGO --quiet $options1 $options2 $options3 $options4 --mode gtp <$tstfile |\
|
||
|
awk -f $RD/regress.awk tst=$tstfile verbose=1
|