[commit: ghc] wip/jenkins: testsuite/junit: Flip type and message (6b957cc)
git at git.haskell.org
git at git.haskell.org
Wed Aug 16 02:40:27 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/6b957cc49f3c86d6d781a17233482927ba29a3cf/ghc
>---------------------------------------------------------------
commit 6b957cc49f3c86d6d781a17233482927ba29a3cf
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.
>---------------------------------------------------------------
6b957cc49f3c86d6d781a17233482927ba29a3cf
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