Commit 0998d4fb authored by Simon Marlow's avatar Simon Marlow
Browse files

sort the keys when outputting the summary

parent 97fda335
......@@ -1092,14 +1092,18 @@ def summary(t, file):
if t.n_unexpected_passes > 0:
file.write('Unexpected passes:\n')
for test in t.unexpected_passes:
keys = t.unexpected_passes.keys()
keys.sort()
for test in keys:
file.write(' ' + test + '(' + \
join(t.unexpected_passes[test],',') + ')\n')
file.write('\n')
if t.n_unexpected_failures > 0:
file.write('Unexpected failures:\n')
for test in t.unexpected_failures:
keys = t.unexpected_failures.keys()
keys.sort()
for test in keys:
file.write(' ' + test + '(' + \
join(t.unexpected_failures[test],',') + ')\n')
file.write('\n')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment