diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-11-11 14:20:55 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-11-11 14:20:55 +0000 |
commit | 2a96023b319066f04d684bd43767fbc245f8e325 (patch) | |
tree | b804ffea75752e416cf752e85297992ca72d69a4 /tests | |
parent | 3ffe5680e675def6754896ef480a10d85d9c04d2 (diff) |
forking works in GHCi too
Or at least, it works well enough to run this test. The main GHCi
thread is gone after forking, but the current evaluation continues to
run.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/all.T | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/all.T b/tests/all.T index dc9258c..056e016 100644 --- a/tests/all.T +++ b/tests/all.T @@ -45,12 +45,5 @@ test('fileStatus', ['-package unix']) -# Omit GHCi way because in GHCi there are two IO manager threads, one -# for GHCi itself and one for the user program. This is a consequence -# of the fact that we aren't sharing the base package between GHCi and -# the user program, and it will change when we switch to shared -# libraries. Unfortunately the test hangs if we try to run it under -# GHCi right now, so we can't just make it an expected failure. -# -test('1185', [ omit_ways(['ghci']), expect_fail_for(['threaded2']) ], +test('1185', [ expect_fail_for(['threaded2']) ], compile_and_run, ['-package unix']) |