summaryrefslogtreecommitdiff
path: root/testsuite/driver/junit.py
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-08-02 15:36:06 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-08-04 18:19:21 -0400
commit6e5dfcd2886d7523cfa059a64b343b22c5da4e97 (patch)
treed96cb6e6a20296387793e9a2e16942fb61816484 /testsuite/driver/junit.py
parent2e031806e7a25d56156c1b2fa2a61d3f73d46402 (diff)
downloadhaskell-6e5dfcd2886d7523cfa059a64b343b22c5da4e97.tar.gz
testsuite: Rework tracking of fragile tests
Breaks fragile tests into two groups, allowing us to easily preserve stdout/stderr of failing fragile tests.
Diffstat (limited to 'testsuite/driver/junit.py')
-rw-r--r--testsuite/driver/junit.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/driver/junit.py b/testsuite/driver/junit.py
index 180a81ab15..638577d279 100644
--- a/testsuite/driver/junit.py
+++ b/testsuite/driver/junit.py
@@ -19,7 +19,8 @@ def junit(t: TestRun) -> ET.ElementTree:
for res_type, group in [('stat failure', t.unexpected_stat_failures),
('unexpected failure', t.unexpected_failures),
('unexpected pass', t.unexpected_passes),
- ('fragile', t.fragile_results)]:
+ ('fragile failure', t.fragile_failures),
+ ('fragile pass', t.fragile_passes)]:
for tr in group:
testcase = ET.SubElement(testsuite, 'testcase',
classname = tr.way,