2 # The Evaluator -- Master Control Script
3 # (c) 2001--2004 Martin Mares <mj@ucw.cz>
6 if [ ! -f config -o ! -f bin/lib ] ; then
7 echo "Unable to find evaluator files!"
13 [ -n "$2" -a -z "$4" ] || die "Usage: ev <contestant> <problem> [<program>]"
25 # Initialize the points file
36 echo >>$PTSFILE "$TEST $1 $2"
41 for TEST in $TESTS ; do
43 [ -f $PDIR/$TEST.config ] && . $PDIR/$TEST.config
45 pstart "Test $TEST... "
46 echo "Test $TEST ($POINTS_PER_TEST points)"
50 die "You must never see this message."