test_in_context.sh: Pick out only interestnig columns
[pachi.git] / test_in_context.sh
blob3a6e26dc7fa782927a49a1446894aaf996c1b2db
1 #!/bin/sh
3 # $1: path to test results
4 # $2: board size
6 (cd "$1" && ls *summ*dat) | sed 's/^f'$2'-//; s/[-.].*$//;' | xargs git log --pretty=oneline --no-walk | while read c s; do
7 echo
8 echo ================================================
9 git log -1 --pretty=medium $c
10 for t in $(cd "$1" && ls f$2-${c:0:5}*summ*); do
11 echo
12 echo $t
13 cat "$1/$t" | cut -f 1,2,7,8,12,13
14 done
15 done