Commit b479c359 authored by ian@well-typed.com's avatar ian@well-typed.com

Add a test for #7563

parent 26e5aafd
......@@ -348,6 +348,18 @@ def unless_wordsize( ws, f ):
else:
return f
def if_unregisterised( f ):
if config.unregisterised:
return f
else:
return normal
def unless_unregisterised( f ):
if config.unregisterised:
return normal
else:
return f
def if_msys( f ):
if config.msys:
return f
......
......@@ -530,3 +530,8 @@ T7060: T7060a T7060b T7060c
.PHONY: T7130
T7130:
"$(TEST_HC)" $(TEST_HC_OPTS_NO_RECOMP) -fflul-laziness
.PHONY: T7563
T7563:
-"$(TEST_HC)" $(TEST_HC_OPTS_NO_RECOMP) -C T7563.hs
ghc: cannot compile this file to desired target: T7563.hs
Usage: For basic information, try the `--help' option.
......@@ -362,3 +362,6 @@ test('T7060',
run_command,
['$MAKE -s --no-print-directory T7060'])
test('T7130', normal, compile_fail, ['-fflul-laziness'])
test('T7563', if_unregisterised(skip), run_command,
['$MAKE -s --no-print-directory T7563'])
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