Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,323
Issues
4,323
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
377
Merge Requests
377
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
821aa1fd
Commit
821aa1fd
authored
Apr 05, 2006
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omit ffi007 and ffi008 for GHCi (see comment for details)
parent
d1c98e66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
testsuite/tests/ghc-regress/ccall/should_run/all.T
testsuite/tests/ghc-regress/ccall/should_run/all.T
+17
-2
No files found.
testsuite/tests/ghc-regress/ccall/should_run/all.T
View file @
821aa1fd
...
...
@@ -9,6 +9,7 @@ def f( opts ):
setTestOpts
(
f
)
# Doesn't work with External Core due to __labels
test
('
fed001
',
compose
(
only_compiler_types
(['
ghc
']),
expect_fail_for
(['
extcore
','
optextcore
'])),
...
...
@@ -35,8 +36,22 @@ test('ffi005', compose(skip, exit_code(3)), compile_and_run, [''])
# ffi[006-009] don't work with External Core due to non-static-C foreign calls
test
('
ffi006
',
expect_fail_for
(['
extcore
','
optextcore
']),
compile_and_run
,
[''])
test
('
ffi007
',
expect_fail_for
(['
extcore
','
optextcore
']),
compile_and_run
,
[''])
test
('
ffi008
',
compose
(
expect_fail_for
(['
extcore
','
optextcore
']),
exit_code
(
1
)),
compile_and_run
,
[''])
# Skip ffi00{7,8} for GHCi. These tests both try to exit or raise an
# error from a foreign export, which shuts down the runtime. When
# GHCi is running, this results in GHCi's main thread also trying to
# shut down, and a race ensues to see who gets to call exit() first.
# Sometimes we end up with the wrong exit code, or get an extra
# 'interrupted' message from the GHCi thread shutting down.
test
('
ffi007
',
compose
(
omit_ways
(['
ghci
']),
expect_fail_for
(['
extcore
','
optextcore
'])
),
compile_and_run
,
[''])
test
('
ffi008
',
compose
(
expect_fail_for
(['
extcore
','
optextcore
']),
compose
(
exit_code
(
1
),
omit_ways
(['
ghci
']))),
compile_and_run
,
[''])
# On i386, expect fail for way optasm, because the native code generator
# doesn't do -ffloat-store and gets different answers when
...
...
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