. config
# Set up environment:
+# HDIR home dir of the evaluator
# PDIR problem specific data
# SDIR contestant's solution
# TDIR test results
# BOXDIR sandbox
# PROBLEM problem we're evaluating
-[ -n "$2" ] || die "Usage: ev <contestant> <problem>"
+[ -n "$2" ] || die "Usage: ev <contestant> <problem> [<program>]"
CONTESTANT=$1
PROBLEM=$2
dir-init
box-init
# Compile the program
-locate-source
+locate-source $3
compile
# Perform the tests