testsuite: Skip T13838 in ghci way
authorBen Gamari <bgamari.foss@gmail.com>
Thu, 7 Jun 2018 17:30:13 +0000 (13:30 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 7 Jun 2018 22:06:30 +0000 (18:06 -0400)
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

testsuite/tests/typecheck/should_run/all.T

index 3344d4c..a96c2b7 100755 (executable)
@@ -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, [''])