File: eval.sh

package info (click to toggle)
gnugo 3.6-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 17,384 kB
  • ctags: 4,137
  • sloc: ansic: 55,120; perl: 3,742; lisp: 1,753; python: 742; sh: 731; makefile: 696; awk: 113; sed: 26
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