aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2014-10-02 20:24:07 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2014-10-02 20:24:07 +0200
commitc19adb17ef58246c34136e5612b57d0f8dcdbe00 (patch)
tree0cc798393d4b1430f3f04d0f31cd533b5a142236 /contrib
parent830976a1de6c15df6498dcd91b36e1fdd549945a (diff)
downloadgcc-c19adb17ef58246c34136e5612b57d0f8dcdbe00.zip
gcc-c19adb17ef58246c34136e5612b57d0f8dcdbe00.tar.gz
gcc-c19adb17ef58246c34136e5612b57d0f8dcdbe00.tar.bz2
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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rw-r--r--contrib/dg-extract-results.py10
2 files changed, 5 insertions, 9 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index f7cb37e..7fa1b31 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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>
* mklog: Add --inline option.
diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py
index fafd38e..7db5e64 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: