Commit 4a67f94f authored by Ian Lynagh's avatar Ian Lynagh
Browse files

fail -> broken

parent f0a97010
......@@ -150,6 +150,13 @@ def _expect_fail_if_compiler_type( opts, compiler_type ):
if config.compiler_type == compiler_type:
opts.expect = 'fail'
def expect_broken_if_compiler_type( compiler_type ):
return lambda opts, b=bug, c=compiler_type: _expect_broken_if_compiler_type(opts, b, c)
def _expect_broken_if_compiler_type( opts, bug, compiler_type ):
if config.compiler_type == compiler_type:
opts.expect = 'fail'
# -----
def set_stdin( file ):
......
......@@ -32,7 +32,7 @@ test('read025', normal, compile_fail, [''])
test('read026', normal, compile_fail, [''])
# Fails in GHC 6.2+
test('read027', expect_fail_if_compiler_type('ghc'), compile_fail, [''])
test('read027', expect_broken_if_compiler_type(1060, 'ghc'), compile_fail, [''])
test('read028', normal, compile_fail, [''])
test('read029', normal, compile_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