Commit c19adb17 by Segher Boessenkool Committed by Segher Boessenkool

dg-extract-results.py (output_variation): Always sort if do_sum.

2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>

	* dg-extract-results.py (output_variation): Always sort if do_sum.

From-SVN: r215817
parent 830976a1
2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
* dg-extract-results.py (output_variation): Always sort if do_sum.
2014-09-22 Tom de Vries <tom@codesourcery.com> 2014-09-22 Tom de Vries <tom@codesourcery.com>
* mklog: Add --inline option. * mklog: Add --inline option.
......
...@@ -495,15 +495,7 @@ class Prog: ...@@ -495,15 +495,7 @@ class Prog:
key = attrgetter ('name')): key = attrgetter ('name')):
sys.stdout.write ('Running ' + harness.name + ' ...\n') sys.stdout.write ('Running ' + harness.name + ' ...\n')
if self.do_sum: if self.do_sum:
# Keep the original test result order if there was only harness.results.sort()
# one segment for this harness. This is needed for
# unsorted.exp, which has unusual test names. Otherwise
# sort the tests by test filename. If there are several
# subtests for the same test filename (such as 'compilation',
# 'test for excess errors', etc.) then keep the subtests
# in the original order.
if len (harness.segments) > 1:
harness.results.sort()
for (key, line) in harness.results: for (key, line) in harness.results:
sys.stdout.write (line) sys.stdout.write (line)
else: else:
......
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