[commit: ghc] ghc-7.10: Testsuite: skip T10489 unless compiler_debugged (#10489) (23287e2)

git at git.haskell.org git at git.haskell.org
Mon Oct 26 17:00:24 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/23287e2935d20bc8db293e2a84e03022ec16d609/ghc

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

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

    Testsuite: skip T10489 unless compiler_debugged (#10489)


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

23287e2935d20bc8db293e2a84e03022ec16d609
 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 33fff94..9b25e3a 100644
--- a/testsuite/tests/typecheck/should_compile/all.T
+++ b/testsuite/tests/typecheck/should_compile/all.T
@@ -444,6 +444,6 @@ test('T10177', normal, compile, [''])
 test('T10195', normal, compile, [''])
 test('T10109', normal, compile, [''])
 test('T10335', normal, compile, [''])
-test('T10489', normal, compile, [''])
+test('T10489', unless(compiler_debugged(), skip), compile, [''])
 test('T10564', normal, compile, [''])
 test('T10390', normal, compile, [''])



More information about the ghc-commits mailing list