repo.or.cz
/
pachi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
play_random_game(): Show ILLEGAL warning with much lower debug level too
[pachi.git]
/
t-play
/
autotest
/
autotest-lib
blob
41d2c5a83b96441dcf1d2478ed4ea2dfb8e0caf9
1
# Library of common shell functions for the autotest framework.
2
3
set -e # errors are fatal
4
5
6
# Client helpers. $clientid must be set.
7
8
log() {
9
echo -e "$(date)\t$*" >>"c/$clientid/log"
10
}
11
12
13
# Generic functions.
14
15
pairid() {
16
echo "$*" | tr ' ' '-'
17
}