File: eval.sh

package info (click to toggle)
gnugo 3.8-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 17,312 kB
  • ctags: 4,228
  • sloc: ansic: 56,439; perl: 3,771; lisp: 2,789; sh: 730; makefile: 700; python: 682; awk: 113; sed: 22
file content (18 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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