Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5262d70e
Commit
5262d70e
authored
Jan 16, 2012
by
Simon Marlow
Browse files
Skip conc036 entirely (see comments)
parent
95cb0a1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/concurrent/should_run/all.T
View file @
5262d70e
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment