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,324
Issues
4,324
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
360
Merge Requests
360
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
b4461010
Commit
b4461010
authored
Mar 12, 2008
by
simonmarhaskell@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip ffi012 unless running on Windows
parent
dfbba236
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
testsuite/tests/ghc-regress/ffi/should_run/all.T
testsuite/tests/ghc-regress/ffi/should_run/all.T
+6
-7
No files found.
testsuite/tests/ghc-regress/ffi/should_run/all.T
View file @
b4461010
...
...
@@ -66,16 +66,15 @@ test('ffi010', expect_fail_for(['extcore','optextcore']), compile_and_run, [''])
test
('
ffi011
',
normal
,
compile_and_run
,
[''])
# The stdcall calling convention only exists on i386,
# so ffi012 should fail everywhere else.
# The stdcall calling convention works on Windows, and sometimes on
# Linux, and fails everywhhere else. For now, we test only on Windows,
# because it's difficult to discover whether a given Linux supports
# it.
if
config
.
platform
.
startswith
("
i386-
"):
if
config
.
platform
.
startswith
("
i386-apple
"):
f
=
expect_fail
else
:
if
config
.
platform
==
'
i386-unknown-mingw32
':
f
=
normal
else
:
f
=
expect_fail
f
=
skip
test
('
ffi012
',
f
,
compile_and_run
,
[''])
...
...
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