Skip to content

Commit 48f0e2d

Browse files
committed
---
yaml --- r: 225287 b: refs/heads/stable c: 24bae2e h: refs/heads/master i: 225285: 94a2400 225283: 5b5fb0e 225279: 130246f v: v3
1 parent 4a0e391 commit 48f0e2d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 6bcdd9ed2cde913e950a545959e42afa3a83a3cd
32+
refs/heads/stable: 24bae2e300c8dcf6d32a1b42aee8fccd152e473a
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/src/etc/check-summary.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def summarise(fname):
3434
summaries.append((fname, summary))
3535

3636
def count(t):
37-
return sum(map(lambda (f, s): len(s.get(t, [])), summaries))
37+
return sum(map(lambda f: len(f[1].get(t, [])), summaries))
3838

3939
logfiles = sys.argv[1:]
4040
for files in map(glob.glob, logfiles):
@@ -43,15 +43,15 @@ def count(t):
4343
failed = count('failed')
4444
ignored = count('ignored')
4545
measured = count('bench')
46-
print "summary of %d test runs: %d passed; %d failed; %d ignored; %d measured" % \
47-
(len(logfiles), ok, failed, ignored, measured)
48-
print ""
46+
print("summary of %d test runs: %d passed; %d failed; %d ignored; %d measured" %
47+
(len(logfiles), ok, failed, ignored, measured))
48+
print("")
4949

5050
if failed > 0:
51-
print "failed tests:"
51+
print("failed tests:")
5252
for f, s in summaries:
5353
failures = s.get('failed', [])
5454
if len(failures) > 0:
55-
print " %s:" % (f)
55+
print(" %s:" % (f))
5656
for test in failures:
57-
print " %s" % (test)
57+
print(" %s" % (test))

0 commit comments

Comments
 (0)