Skip to content

Commit d431898

Browse files
committed
---
yaml --- r: 214751 b: refs/heads/beta c: 24bae2e h: refs/heads/master i: 214749: d63d4d3 214747: 854a2fd 214743: 4204f26 214735: 8512542 214719: 3abdae7 v: v3
1 parent a688f10 commit d431898

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
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 6bcdd9ed2cde913e950a545959e42afa3a83a3cd
26+
refs/heads/beta: 24bae2e300c8dcf6d32a1b42aee8fccd152e473a
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 8c0aa6d64ebab528f7eb182812007155d6044972
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/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)