mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
830976a1de
commit
c19adb17ef
|
@ -1,3 +1,7 @@
|
||||||
|
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:
|
||||||
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:
|
||||||
|
|
Loading…
Reference in New Issue