diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-04-06 09:37:52 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-06-11 20:07:25 -0400 |
commit | 5993703cd9330f239b5401dca36dc37d60d536f0 (patch) | |
tree | 26e84163037e249dee70d139e3f72ae821a2ddce | |
parent | c993dee90b0beba4d33688f9e3b26eea3f686761 (diff) | |
download | haskell-5993703cd9330f239b5401dca36dc37d60d536f0.tar.gz |
testsuite: Fix fragile_for test modifier
(cherry picked from commit 658199cce0aabeed77f3bbbbde6abc0c5c3cc83d)
-rw-r--r-- | testsuite/driver/testlib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py index efe26bf1bb..0315b8ec2c 100644 --- a/testsuite/driver/testlib.py +++ b/testsuite/driver/testlib.py @@ -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 # ----- |