sidekick/bench/run_prover
2014-11-05 15:59:04 +01:00

12 lines
166 B
Bash
Executable file

#!/bin/bash
CMD="$1"
FILE="$2"
LOG="$3"
/usr/bin/time -f "%e" $CMD $FILE > $3 2>&1
RET=$?
if [ $RET -ne 0 ];
then
echo "Error code $RET while solving $FILE"
fi