Commit 09819a8e authored by Simon Marlow's avatar Simon Marlow
Browse files

add skip_if_platform

parent 56ec4f5d
......@@ -170,6 +170,15 @@ def skip_if_fast(opts):
if config.fast:
opts.skip = 1
# -----
def skip_if_platform( plat ):
return lambda opts, p=plat: _skip_if_platform(opts, p)
def _skip_if_platform( opts, plat ):
if config.platform == plat:
opts.skip = 1
# ---
def alone(opts):
opts.alone = 1
......
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