summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi
diff options
context:
space:
mode:
authorAlp Mestanogullari <alp@well-typed.com>2018-05-13 18:38:18 -0400
committerBen Gamari <ben@smart-cactus.org>2018-05-13 22:22:43 -0400
commitca3d3039386b145ae2835ca563b4c5a3497c25c9 (patch)
tree1c72f0eb51238d512de1e9f5989d7c3fc5ade1b9 /testsuite/tests/ffi
parent8f3c149d94814e4f278b08c562f06fc257eb3c43 (diff)
downloadhaskell-ca3d3039386b145ae2835ca563b4c5a3497c25c9.tar.gz
Fix another batch of `./validate --slow` failures
A rather detailed summary can be found at: https://gist.github.com/alpmestan/be82b47bb88b7dc9ff84105af9b1bb82 This doesn't fix all expectation mismatches yet, but we're down to about 20 mismatches with my previous patch and this one, as opposed to ~150 when I got started. Test Plan: ./validate --slow Reviewers: bgamari, erikd, simonmar Reviewed By: simonmar Subscribers: thomie, carter GHC Trac Issues: #14890 Differential Revision: https://phabricator.haskell.org/D4636
Diffstat (limited to 'testsuite/tests/ffi')
-rw-r--r--testsuite/tests/ffi/should_fail/all.T10
1 files changed, 9 insertions, 1 deletions
diff --git a/testsuite/tests/ffi/should_fail/all.T b/testsuite/tests/ffi/should_fail/all.T
index 944f172c02..ce72f177c3 100644
--- a/testsuite/tests/ffi/should_fail/all.T
+++ b/testsuite/tests/ffi/should_fail/all.T
@@ -14,7 +14,15 @@ test('T5664', normal, compile_fail, ['-v0'])
test('T7506', normal, compile_fail, [''])
test('T7243', normal, compile_fail, [''])
test('T10461', normal, compile_fail, [''])
-test('UnsafeReenter', [omit_ways(['ghciext', 'ghci']), exit_code(1)], compile_and_run, ['-v0 UnsafeReenterC.c'])
+
+# UnsafeReenter seems to just hang instead of erroring out
+# with the threaded1, threaded2 and profthreaded ways,
+# see #14912.
+test('UnsafeReenter',
+ [omit_ways(['ghciext', 'ghci']),
+ exit_code(1),
+ expect_broken_for(14912, ['threaded1', 'threaded2', 'profthreaded'])
+ ], compile_and_run, ['-v0 UnsafeReenterC.c'])
test('UnsafeReenterGhci',
[exit_code(1), extra_files(['UnsafeReenter.hs', 'UnsafeReenterC.c']), expect_broken(13730)],
run_command,