[commit: ghc] wip/jenkins: testsuite/junit: Flip type and message (29d6e33)
git at git.haskell.org
git at git.haskell.org
Fri Aug 18 03:50:08 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/29d6e336c14dd184070756d1cfded7213d0e006f/ghc
>---------------------------------------------------------------
commit 29d6e336c14dd184070756d1cfded7213d0e006f
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.
>---------------------------------------------------------------
29d6e336c14dd184070756d1cfded7213d0e006f
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