Commit bd7a0256 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

add 'broken' variant of expect_broken_if_platform

parent c66663d0
......@@ -127,6 +127,13 @@ def expect_fail_if_platform( plat ):
def _expect_fail_if_platform( opts, plat ):
if config.platform == plat:
opts.expect = 'fail'
def expect_broken_if_platform( bug, plat ):
return lambda opts, b=bug, p=plat: _expect_broken_if_platform(opts, b, p)
def _expect_broken_if_platform( opts, bug, plat ):
if config.platform == plat:
opts.expect = 'fail'
# -----
......
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