cat out file when test games fail

master
melvin 2014-05-31 17:04:48 +08:00
parent 19e4770fa9
commit fe0c597392
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,8 @@ inf: $(MAG)
-while true; do make debug=true 0`date +%s`.t; done
buildhive:
make clean games=100 ai1=MMABC ai2=MCTS `date +%s`.t
$(eval MAG_ID := $(shell date +%s))
make clean games=100 ai1=MMABC ai2=MCTS ${MAG_ID}.t || (cat ${MAG_ID}.out && false)
touch cards/standard_all.out cards/extended_all.out cards/modern_all.out
touch cards/standard_all.txt cards/extended_all.txt cards/modern_all.txt
make zips