summaryrefslogtreecommitdiff
path: root/testsuite/driver/testglobals.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/testglobals.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/testglobals.py')
-rw-r--r--testsuite/driver/testglobals.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py
index b7d668ec66..9895cd3a61 100644
--- a/testsuite/driver/testglobals.py
+++ b/testsuite/driver/testglobals.py
@@ -236,7 +236,8 @@ class TestRun:
self.unexpected_stat_failures = [] # type: List[TestResult]
# Results from tests that have been marked as fragile
- self.fragile_results = [] # type: List[TestResult]
+ self.fragile_passes = [] # type: List[TestResult]
+ self.fragile_failures = [] # type: List[TestResult]
# List of all metrics measured in this test run.
# [(change, PerfStat)] where change is one of the MetricChange