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

git at git.haskell.org git at git.haskell.org
Mon Jul 31 12:45:20 UTC 2017


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

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

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

commit f0dad2c554a014f36b18a10ed9fbd6d08dfd4cfa
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.


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

f0dad2c554a014f36b18a10ed9fbd6d08dfd4cfa
 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