[commit: ghc] master: testsuite: Skip T13838 in ghci way (04e29fc)

git at git.haskell.org git at git.haskell.org
Fri Jun 8 00:08:44 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/04e29fc63e1f1d975c73449b27471cf59c9ffca2/ghc

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

commit 04e29fc63e1f1d975c73449b27471cf59c9ffca2
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Thu Jun 7 13:30:13 2018 -0400

    testsuite: Skip T13838 in ghci way
    
    Test Plan: `make slowtest TEST=T13838`
    
    Reviewers: alpmestan, dfeuer
    
    Reviewed By: dfeuer
    
    Subscribers: dfeuer, rwbarton, thomie, carter
    
    GHC Trac Issues: #15238
    
    Differential Revision: https://phabricator.haskell.org/D4802


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

04e29fc63e1f1d975c73449b27471cf59c9ffca2
 testsuite/tests/typecheck/should_run/all.T | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/typecheck/should_run/all.T b/testsuite/tests/typecheck/should_run/all.T
index 3344d4c..a96c2b7 100755
--- a/testsuite/tests/typecheck/should_run/all.T
+++ b/testsuite/tests/typecheck/should_run/all.T
@@ -130,7 +130,9 @@ test('TypeableEq', normal, compile_and_run, [''])
 test('T13435', normal, compile_and_run, [''])
 test('T11715', exit_code(1), compile_and_run, [''])
 test('T13594a', normal, ghci_script, ['T13594a.script'])
-test('T13838', [exit_code(1)], compile_and_run, ['-fdefer-type-errors'])
+
+# GHCi exits with code zero due to deferred type errors
+test('T13838', [exit_code(1), omit_ways(['ghci'])], compile_and_run, ['-fdefer-type-errors'])
 test('T14218', normal, compile_and_run, [''])
 test('T14236', normal, compile_and_run, [''])
 test('T14925', normal, compile_and_run, [''])



More information about the ghc-commits mailing list