[commit: ghc] master: Skip TEST=TcCoercibleFail when compiler_debugged (49c55e6)

git at git.haskell.org git at git.haskell.org
Mon Feb 29 14:48:57 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/49c55e68aae9841c166430ae566b0d9bdc03c99d/ghc

>---------------------------------------------------------------

commit 49c55e68aae9841c166430ae566b0d9bdc03c99d
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Mon Feb 29 13:59:48 2016 +0100

    Skip TEST=TcCoercibleFail when compiler_debugged


>---------------------------------------------------------------

49c55e68aae9841c166430ae566b0d9bdc03c99d
 testsuite/tests/typecheck/should_fail/all.T | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/typecheck/should_fail/all.T b/testsuite/tests/typecheck/should_fail/all.T
index cb0f9fb..485ac2f 100644
--- a/testsuite/tests/typecheck/should_fail/all.T
+++ b/testsuite/tests/typecheck/should_fail/all.T
@@ -327,7 +327,11 @@ test('T7989', normal, compile_fail, [''])
 test('T8034', normal, compile_fail, [''])
 test('T8142', normal, compile_fail, [''])
 test('T8262', normal, compile_fail, [''])
-test('TcCoercibleFail', [], compile_fail, [''])
+
+# TcCoercibleFail times out with the compiler is compiled with -DDEBUG.
+# This is expected (see comment in source file).
+test('TcCoercibleFail', [when(compiler_debugged(), skip)], compile_fail, [''])
+
 test('TcCoercibleFail2', [], compile_fail, [''])
 test('TcCoercibleFail3', [], compile_fail, [''])
 test('T8306', normal, compile_fail, [''])



More information about the ghc-commits mailing list