2 # The Evaluator for Open Data Problems
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" ] || die "Usage: ev-open <contestant> <problem>"
20 # Initialize the points file
31 echo >>$PTSFILE "$TEST $1 $2"
37 for TEST in $TESTS ; do
39 [ -f $PDIR/$TEST.config ] && . $PDIR/$TEST.config
41 pstart "Test $TEST... "
42 echo "Test $TEST ($POINTS_PER_TEST points)"
43 [ -f $SDIR/$TEST.out ] || test-result 0 "No solution."
44 ln $SDIR/$TEST.out $TDIR/$TEST.out
47 die "You must never see this message."