[commit: ghc] wip/jenkins: testsuite/junit: Flip type and message (90bf85b)

git at git.haskell.org git at git.haskell.org
Wed Aug 16 18:56:03 UTC 2017


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

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/90bf85bc5352fe99743651eb7ab5d270f6f260d0/ghc

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

commit 90bf85bc5352fe99743651eb7ab5d270f6f260d0
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Jul 31 08:44:40 2017 -0400

    testsuite/junit: Flip type and message
    
    type apparently can't contain < characters.


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

90bf85bc5352fe99743651eb7ab5d270f6f260d0
 testsuite/driver/junit.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/driver/junit.py b/testsuite/driver/junit.py
index 01a5f47..f9689de 100644
--- a/testsuite/driver/junit.py
+++ b/testsuite/driver/junit.py
@@ -18,8 +18,8 @@ def junit(t):
                                      classname = testname,
                                      name = way)
             result = ET.SubElement(testcase, 'failure',
-                                   type = result,
-                                   message = reason)
+                                   type = reason,
+                                   message = result)
 
     for (directory, testname, reason, way) in t.framework_failures:
         testcase = ET.SubElement(testsuite, 'testcase',



More information about the ghc-commits mailing list