[commit: testsuite] master: Skip conc036 entirely (see comments) (50a9c42)
Simon Marlow
marlowsd at gmail.com
Tue Jan 17 13:38:06 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/50a9c42a620803b485c1c37a76db33cd2a463d61
>---------------------------------------------------------------
commit 50a9c42a620803b485c1c37a76db33cd2a463d61
Author: Simon Marlow <marlowsd at gmail.com>
Date: Mon Jan 16 15:49:39 2012 +0000
Skip conc036 entirely (see comments)
>---------------------------------------------------------------
tests/concurrent/should_run/all.T | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/tests/concurrent/should_run/all.T b/tests/concurrent/should_run/all.T
index 609a66c..c96f913 100644
--- a/tests/concurrent/should_run/all.T
+++ b/tests/concurrent/should_run/all.T
@@ -152,14 +152,21 @@ test('conc034', compose(only_compiler_types(['ghc']),
test('conc035', only_compiler_types(['ghc']), compile_and_run, [''])
-# Omit for GHCi: firstly GHCi doesn't have unsafe FFI calls, and secondly
-# the main thread cannot receive the deadlock exception because it can be
-# woken up by ^C.
-# Omit for threaded2: this test is really bogus and fails to do anything
-# sensible for more than one CPU.
-test('conc036', compose(skip_if_fast,
- compose(omit_ways(['ghci','threaded2']),
- only_compiler_types(['ghc']))), compile_and_run, [''])
+# conc036: now skipped entirely. This test attempts to check that
+# unsafe foreign calls block other threads, but doing that reliably is
+# probably impossible. The last straw was when it started failing on
+# Windows around 7.4.x.
+#
+# OLD comments about hacks we tried to make it work:
+# Omit for GHCi: firstly GHCi doesn't have unsafe FFI calls, and secondly
+# the main thread cannot receive the deadlock exception because it can be
+# woken up by ^C.
+# Omit for threaded2: this test is really bogus and fails to do anything
+# sensible for more than one CPU.
+#
+test('conc036', skip, compile_and_run, [''])
+
+
# Interrupting foreign calls only makes sense if we are threaded
test('foreignInterruptible', composes([skip_if_fast,
only_threaded_ways,
More information about the Cvs-ghc
mailing list