From: segher Date: Thu, 2 Oct 2014 18:24:07 +0000 (+0000) Subject: 2014-10-02 Segher Boessenkool X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1f3c323a1148c0743c0efec3d61ecf60fbfc995;p=thirdparty%2Fgcc.git 2014-10-02 Segher Boessenkool * dg-extract-results.py (output_variation): Always sort if do_sum. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215817 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index f7cb37e9aab7..7fa1b3188724 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2014-10-02 Segher Boessenkool + + * dg-extract-results.py (output_variation): Always sort if do_sum. + 2014-09-22 Tom de Vries * mklog: Add --inline option. diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py index fafd38e76f9e..7db5e64cfe3f 100644 --- a/contrib/dg-extract-results.py +++ b/contrib/dg-extract-results.py @@ -495,15 +495,7 @@ class Prog: key = attrgetter ('name')): sys.stdout.write ('Running ' + harness.name + ' ...\n') if self.do_sum: - # Keep the original test result order if there was only - # 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() + harness.results.sort() for (key, line) in harness.results: sys.stdout.write (line) else: