summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-04-06 09:37:52 -0400
committerBen Gamari <ben@smart-cactus.org>2019-06-12 08:20:25 -0400
commit329dcd7a59e7d46cb5110e1dfb9f8b7f50f0e3a2 (patch)
treedb809499d2ba1d40f4715f872030a1494695a2e6 /testsuite/driver
parentbb7ed32f2a147007a224928534a7c461e5a6d429 (diff)
downloadhaskell-329dcd7a59e7d46cb5110e1dfb9f8b7f50f0e3a2.tar.gz
testsuite: Fix fragile_for test modifier
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/testlib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index acd7e1ab9d..7284b80380 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -257,14 +257,14 @@ def fragile( bug ):
return helper
-def fragile_for( name, opts, bug, ways ):
+def fragile_for( bug, ways ):
"""
Indicates that the test should be skipped due to fragility in the given
test ways as documented in the given ticket.
"""
def helper( name, opts, bug=bug, ways=ways ):
record_broken(name, opts, bug)
- opts.omit_ways = ways
+ opts.omit_ways += ways
return helper
@@ -274,7 +274,7 @@ def omit_ways( ways ):
return lambda name, opts, w=ways: _omit_ways( name, opts, w )
def _omit_ways( name, opts, ways ):
- opts.omit_ways = ways
+ opts.omit_ways += ways
# -----