Skip to content
GitLab
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
164f705f
Commit
164f705f
authored
Feb 07, 2013
by
Simon Marlow
Browse files
add test for
#7636
parent
25af5c05
Changes
3
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/rts/T7636.hs
0 → 100644
View file @
164f705f
import
GHC.Conc.Sync
import
System.Environment
test
n
=
atomically
$
f
[
1
..
n
]
where
f
[]
=
retry
f
(
x
:
xs
)
=
do
ys
<-
f
xs
return
(
x
:
ys
)
main
=
do
[
n
]
<-
getArgs
test
(
read
n
)
testsuite/tests/rts/T7636.stderr
0 → 100644
View file @
164f705f
T7636: thread blocked indefinitely in an STM transaction
testsuite/tests/rts/all.T
View file @
164f705f
...
...
@@ -162,3 +162,5 @@ test('T7040_ghci', [ only_ways(['ghci']),
test
('
T7227
',
[
extra_run_opts
('
+RTS -tT7227.stat --machine-readable -RTS
'),
extra_clean
(['
T7227.stat
'])
]
,
compile_and_run
,
['']
)
test
('
T7636
',
[
exit_code
(
1
),
extra_run_opts
('
100000
')
],
compile_and_run
,
['']
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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