]> mj.ucw.cz Git - eval.git/blob - mop/calibrate/cal-prepare.sh
mop: Added utilities for calibration of time limits
[eval.git] / mop / calibrate / cal-prepare.sh
1 #!/bin/sh
2 # Time limit calibrator: Gathering of timing data
3 # (c) 2010 Martin Mares <mj@ucw.cz>
4
5 set -e
6 [ -n "$1" ]
7 t="$1"
8 mkdir -p cal/$t
9 for a in `cd solutions/authors/$t && echo * | sed 's/\.[^ ]*//g'` ; do
10         bin/ev authors $t $a
11         cp testing/authors/$t/points cal/$t/$a.points
12         grep syscalls testing/authors/$t/*.log >cal/$t/$a.log
13 done