Commit 02bd959b authored by's avatar
Browse files

Convert more helpers to the new scheme

parent 5382010a
......@@ -328,29 +328,14 @@ def arch( arch ):
def wordsize( ws ):
return config.wordsize == str(ws)
def if_unregisterised( f ):
if config.unregisterised:
return f
return normal
def unregisterised( ):
return config.unregisterised
def unless_unregisterised( f ):
if config.unregisterised:
return normal
return f
def msys( ):
return config.msys
def if_msys( f ):
if config.msys:
return f
return normal
def if_cygwin( f ):
if config.cygwin:
return f
return normal
def cygwin( ):
return config.cygwin
def when_have_vanilla( f ):
if config.have_vanilla:
......@@ -362,6 +362,6 @@ test('T7060',
['$MAKE -s --no-print-directory T7060'])
test('T7130', normal, compile_fail, ['-fflul-laziness'])
test('T7563', if_unregisterised(skip), run_command,
test('T7563', when(unregisterised(), skip), run_command,
['$MAKE -s --no-print-directory T7563'])
Supports Markdown
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