summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-23 01:47:40 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 11:44:11 (GMT)
commitf3fd925aca2bbdec15a97df272b9a9d101bb1cf3 (patch)
treeb0d79c02230f81dceb3d632abebe0bfddee705d4
parent4161ddb31b8b8f89ed552ca02bf7ecce42663da2 (diff)
kajonggtest: show all difference details
-rwxr-xr-xsrc/kajonggtest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kajonggtest.py b/src/kajonggtest.py
index 868be4f..b63ca31 100755
--- a/src/kajonggtest.py
+++ b/src/kajonggtest.py
@@ -484,7 +484,8 @@ def printDifferingResults(rowLists):
len(differing), len(allGameIds),
' '.join(sorted(differing, key=int))))
# now look closer at one example. Differences may be caused by git commits or by py2/p3
- closerLook(sorted(differing)[0], allGameIds[differing[0]])
+ for gameId in sorted(differing):
+ closerLook(gameId, allGameIds[gameId])
def evaluate(games):
"""evaluate games"""