summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/driver/junit.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/testsuite/driver/junit.py b/testsuite/driver/junit.py
index ec840181b9..d376a061c8 100644
--- a/testsuite/driver/junit.py
+++ b/testsuite/driver/junit.py
@@ -7,12 +7,15 @@ def junit(t):
id = "0",
package = 'ghc',
tests = str(t.total_tests),
- failures = str(len(t.unexpected_failures) + len(t.unexpected_stat_failures)),
+ failures = str(len(t.unexpected_failures)
+ + len(t.unexpected_stat_failures)
+ + len(t.unexpected_passes)),
errors = str(len(t.framework_failures)),
timestamp = datetime.now().isoformat())
for res_type, group in [('stat failure', t.unexpected_stat_failures),
- ('unexpected failure', t.unexpected_failures)]:
+ ('unexpected failure', t.unexpected_failures),
+ ('unexpected_passes', t.unexpected_passes)]:
for tr in group:
testcase = ET.SubElement(testsuite, 'testcase',
classname = tr.way,