[commit: ghc] master: Promote TcNullaryTC and TcCoercible to fast tests (26f4192)

git at git.haskell.org git at git.haskell.org
Sun Jun 29 15:07:02 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/26f41922e8923185bc77ceb8ef44d23564d29bed/ghc

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

commit 26f41922e8923185bc77ceb8ef44d23564d29bed
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Jun 29 16:06:45 2014 +0200

    Promote TcNullaryTC and TcCoercible to fast tests
    
    I'm wondering whether it's sensible to omit so many typecheck testcases from
    the default validate test target. As for instance, TcNullaryTC has been failing
    since its introduction in c63a465011b99eeafbb957074e54c2e6bbf751d9 (re #8993) and
    it seems to have gone unnoticed so far.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

26f41922e8923185bc77ceb8ef44d23564d29bed
 testsuite/tests/typecheck/should_run/all.T | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/typecheck/should_run/all.T b/testsuite/tests/typecheck/should_run/all.T
index de37d13..760d5e1 100755
--- a/testsuite/tests/typecheck/should_run/all.T
+++ b/testsuite/tests/typecheck/should_run/all.T
@@ -12,6 +12,8 @@ test('tcrun003', normal, compile_and_run, [''])
 test('tcrun004', normal, compile_and_run, [''])
 test('tcrun005', normal, compile_and_run, [''])
 test('Defer01', normal, compile_and_run, [''])
+test('TcNullaryTC', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
+test('TcCoercible', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
 
 # -----------------------------------------------------------------------------
 # Skip everything else if fast is on
@@ -105,10 +107,8 @@ test('T6117', normal, compile_and_run, [''])
 test('T5751', normal, compile_and_run, [''])
 test('T5913', normal, compile_and_run, [''])
 test('T7748', normal, compile_and_run, [''])
-test('TcNullaryTC', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
 test('T7861', exit_code(1), compile_and_run, [''])
 test('TcTypeNatSimpleRun', normal, compile_and_run, [''])
-test('TcCoercible', when(compiler_lt('ghc', '7.7'), skip), compile_and_run, [''])
 test('T8119', normal, ghci_script, ['T8119.script'])
 test('T8492', normal, compile_and_run, [''])
 test('T8739', normal, compile_and_run, [''])



More information about the ghc-commits mailing list