Commit 107d2cb7 authored by Matthew Pickering's avatar Matthew Pickering Committed by Ben Gamari
Browse files

Don't shadow "result" in JUnit driver

Reviewers: bgamari

Reviewed By: bgamari

Subscribers: thomie, carter

GHC Trac Issues: #15093

Differential Revision:
parent cf35ab9a
......@@ -11,14 +11,14 @@ def junit(t):
errors = str(len(t.framework_failures)),
timestamp =
for result, group in [('stat failure', t.unexpected_stat_failures),
for res_type, group in [('stat failure', t.unexpected_stat_failures),
('unexpected failure', t.unexpected_failures)]:
for (directory, testname, reason, way) in group:
testcase = ET.SubElement(testsuite, 'testcase',
classname = testname,
name = way)
result = ET.SubElement(testcase, 'failure',
type = result,
type = res_type,
message = reason)
for (directory, testname, reason, way) in t.framework_failures:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment