[commit: ghc] master: Sort list of failed tests for easier comparison between runs (cb8db9b)

git at git.haskell.org git at git.haskell.org
Tue Jul 11 17:42:49 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/cb8db9bcbdbe5008fbefb3ce262a8f06fb7366da/ghc

>---------------------------------------------------------------

commit cb8db9bcbdbe5008fbefb3ce262a8f06fb7366da
Author: Andreas Klebinger <klebinger.andreas at gmx.at>
Date:   Tue Jul 11 11:57:39 2017 -0400

    Sort list of failed tests for easier comparison between runs
    
    Test Plan: Running the testsuite.
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #13922
    
    Differential Revision: https://phabricator.haskell.org/D3705


>---------------------------------------------------------------

cb8db9bcbdbe5008fbefb3ce262a8f06fb7366da
 testsuite/driver/testlib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index b730685..4212214 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -2054,7 +2054,7 @@ def printUnexpectedTests(file, testInfoss):
                        if not name.endswith('.T'))
     if unexpected:
         file.write('Unexpected results from:\n')
-        file.write('TEST="' + ' '.join(unexpected) + '"\n')
+        file.write('TEST="' + ' '.join(sorted(unexpected)) + '"\n')
         file.write('\n')
 
 def printTestInfosSummary(file, testInfos):



More information about the ghc-commits mailing list