# ./runbench.sh [nqueens] [timeout] [tuner.conf]
# ./runbench.sh [sudoku-csolver] [timeout] [tuner.conf]
# ./runbench.sh [killerSudoku] [timeout] [tuner.conf]
+set -e
if [ "$#" -lt 3 ]; then
echo "Illegal number of argument"
cd $BIN
for d in $DUMP; do
if [[ $d = *$1* ]]; then
- echo $d
- ./run.sh tunerrun "."$d $2 "../"$3 out.out
+ echo "Running: ./run.sh tunerrun "."$d $2 $3 out.out"
+ ./run.sh tunerrun "."$d $2 $3 out.out
echo "Best tuner"
fi
done