forked from dotnet/coreclr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the tests used to bring the System V struct passing/returning fun…
…ctionality. There are: 1. Tests for passing managed struct.\ 2. Tests for returning managed structs. 3. Tests for PInvoke and reverse PInvoke using callbacks and native SO.
- Loading branch information
Lubomir Litchev
committed
Nov 18, 2015
1 parent
f8b8641
commit 5ad2194
Showing
10 changed files
with
4,965 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
tests/src/JIT/Methodical/structs/systemvbringup/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
cmake_minimum_required(VERSION 2.6) | ||
project(jitstructtests) | ||
|
||
set(CMAKE_SHARED_LIBRARY_PREFIX "") | ||
|
||
set(SOURCES structinregs.cpp structinregs.def) | ||
add_library(jitstructtests_lib SHARED ${SOURCES}) | ||
|
||
# add the install targets (this "installs" the native file on Windows systems) | ||
install(TARGETS jitstructtests_lib DESTINATION bin) | ||
|
||
# This "installs" the native file on System V systems | ||
set_target_properties(jitstructtests_lib PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/structinregs) |
10 changes: 10 additions & 0 deletions
10
tests/src/JIT/Methodical/structs/systemvbringup/project.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"dependencies": { | ||
"System.Runtime": "4.0.20-beta-23302", | ||
"System.Runtime.InteropServices": "4.0.20-beta-23302", | ||
"System.Console": "4.0.0-beta-23302", | ||
}, | ||
"frameworks": { | ||
"dnxcore50": {} | ||
} | ||
} |
Oops, something went wrong.