Commit 5993703c authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

testsuite: Fix fragile_for test modifier

(cherry picked from commit 658199cc)
parent c993dee9
......@@ -236,14 +236,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
......@@ -253,7 +253,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
# -----
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