forked from dotnet/runtime
-
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.
This change contains the remaining fixes I made while digging through the PR run in the runtime repo: 1) Some more repo-relative vs. coreclr-relative repo adjustments reflecting the migration process; 2) Make sure that XunitTestBinBase always ends with a directory separator, otherwise my recent fix for Common folder exclusion doesn't work; 3) Opportunistically shorten project names of two native interop test components - as the project name is repeated about 3-4 times in some intermediate paths, it quickly exceeds the standard Windows path length limit. Please note there's no functional change in the test. Thanks Tomas Commit migrated from dotnet/coreclr@35e54e8
- Loading branch information
Showing
10 changed files
with
27 additions
and
28 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
9 changes: 5 additions & 4 deletions
9
...reclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByOut/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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
cmake_minimum_required (VERSION 2.6) | ||
project (ReversePInvokePassingByOutNative) | ||
project (RPIP_ByOutNative) | ||
include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") | ||
include_directories("..") | ||
set(SOURCES | ||
ReversePInvokePassingByOutNative.cpp | ||
) | ||
# Additional files to reference: | ||
# add the executable | ||
add_library (ReversePInvokePassingByOutNative SHARED ${SOURCES}) | ||
target_link_libraries(ReversePInvokePassingByOutNative ${LINK_LIBRARIES_ADDITIONAL}) | ||
add_library (RPIP_ByOutNative SHARED ${SOURCES}) | ||
set_property (TARGET RPIP_ByOutNative PROPERTY OUTPUT_NAME ReversePInvokePassingByOutNative) | ||
target_link_libraries(RPIP_ByOutNative ${LINK_LIBRARIES_ADDITIONAL}) | ||
# add the install targets | ||
install (TARGETS ReversePInvokePassingByOutNative DESTINATION bin) | ||
install (TARGETS RPIP_ByOutNative DESTINATION bin) |
9 changes: 5 additions & 4 deletions
9
...reclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByRef/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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
cmake_minimum_required (VERSION 2.6) | ||
project (ReversePInvokePassingByRefNative) | ||
project (RPIP_ByRefNative) | ||
include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") | ||
include_directories("..") | ||
set(SOURCES | ||
ReversePInvokePassingByRefNative.cpp | ||
) | ||
# Additional files to reference: | ||
# add the executable | ||
add_library (ReversePInvokePassingByRefNative SHARED ${SOURCES}) | ||
target_link_libraries(ReversePInvokePassingByRefNative ${LINK_LIBRARIES_ADDITIONAL}) | ||
add_library (RPIP_ByRefNative SHARED ${SOURCES}) | ||
set_property (TARGET RPIP_ByRefNative PROPERTY OUTPUT_NAME ReversePInvokePassingByRefNative) | ||
target_link_libraries(RPIP_ByRefNative ${LINK_LIBRARIES_ADDITIONAL}) | ||
# add the install targets | ||
install (TARGETS ReversePInvokePassingByRefNative DESTINATION bin) | ||
install (TARGETS RPIP_ByRefNative DESTINATION bin) |