[commit: ghc] master: Testsuite: skip T10489 unless compiler_debugged (#10489) (756fa0a)

git at git.haskell.org git at git.haskell.org
Thu Jul 30 20:54:28 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/756fa0a3547a5836ff50787a8f89e2db0793f5d3/ghc

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

commit 756fa0a3547a5836ff50787a8f89e2db0793f5d3
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Thu Jul 30 21:50:10 2015 +0200

    Testsuite: skip T10489 unless compiler_debugged (#10489)


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

756fa0a3547a5836ff50787a8f89e2db0793f5d3
 testsuite/tests/typecheck/should_compile/T10489.hs | 1 +
 testsuite/tests/typecheck/should_compile/all.T     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/typecheck/should_compile/T10489.hs b/testsuite/tests/typecheck/should_compile/T10489.hs
index 892965e..c3d8c5c 100644
--- a/testsuite/tests/typecheck/should_compile/T10489.hs
+++ b/testsuite/tests/typecheck/should_compile/T10489.hs
@@ -1,3 +1,4 @@
 module T10489 where
 
+-- Triggered an ASSERT in a debug build at some point.
 convert d = let d' = case d of '0' -> '!' in d'
diff --git a/testsuite/tests/typecheck/should_compile/all.T b/testsuite/tests/typecheck/should_compile/all.T
index 9ff759f..47a154a 100644
--- a/testsuite/tests/typecheck/should_compile/all.T
+++ b/testsuite/tests/typecheck/should_compile/all.T
@@ -458,7 +458,7 @@ test('T10390', normal, compile, [''])
 test('T8555', normal, compile, [''])
 test('T8799', normal, compile, [''])
 test('T10423', normal, compile, [''])
-test('T10489', normal, compile, [''])
+test('T10489', unless(compiler_debugged(), skip), compile, [''])
 test('T10348', normal, compile, [''])
 test('T10494', normal, compile, [''])
 test('T10493', normal, compile, [''])



More information about the ghc-commits mailing list