Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
25d48634
Commit
25d48634
authored
Aug 03, 2011
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix an unexpected pass
parent
6339c4db
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
testsuite/tests/concurrent/should_run/all.T
testsuite/tests/concurrent/should_run/all.T
+1
-1
testsuite/tests/concurrent/should_run/throwto002.hs
testsuite/tests/concurrent/should_run/throwto002.hs
+1
-1
testsuite/tests/concurrent/should_run/throwto002.stdout
testsuite/tests/concurrent/should_run/throwto002.stdout
+1
-0
No files found.
testsuite/tests/concurrent/should_run/all.T
View file @
25d48634
...
...
@@ -36,7 +36,7 @@ test('4030', omit_ways('ghci'), compile_and_run, ['-O'])
# each of these runs for about a second
test
('
throwto001
',
[
reqlib
('
random
'),
extra_run_opts
('
1000 2000
')],
compile_and_run
,
[''])
test
('
throwto002
',
[
reqlib
('
random
')
,
ignore_output
],
compile_and_run
,
[''])
test
('
throwto002
',
[
reqlib
('
random
')],
compile_and_run
,
[''])
test
('
throwto003
',
normal
,
compile_and_run
,
[''])
test
('
mask001
',
normal
,
compile_and_run
,
[''])
...
...
testsuite/tests/concurrent/should_run/throwto002.hs
View file @
25d48634
...
...
@@ -15,7 +15,7 @@ main = do
t1
<-
block
$
forkIO
(
thread
r
t2
)
t2
<-
block
$
forkIO
(
thread
r
t1
)
threadDelay
1000000
readIORef
r
>>=
print
readIORef
r
>>=
print
.
(
/=
0
)
thread
r
t
=
run
where
...
...
testsuite/tests/concurrent/should_run/throwto002.stdout
0 → 100644
View file @
25d48634
True
Write
Preview
Markdown
is supported
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