Commit 5695c1aa authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add 'unless_os' testlib helper

parent 2b6b2a78
......@@ -260,6 +260,12 @@ def if_os( os, f ):
return normal
def unless_os( os, f ):
if config.os == os:
return normal
return f
def if_arch( arch, f ):
if config.arch == arch:
return f
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