TODO: Random updates
[pachi.git] / t-play / test_in_context.sh
blob5564f548bff148bf974f7c47bd9f45515d77d6f2
1 #!/bin/sh
3 # $1: path to test results
4 # $2: board size
6 (cd "$1" && ls f$2-*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