Add PInvoke/DllImportpath tests (#19270)
authorZeng Jiang <v-jiazen@microsoft.com>
Thu, 15 Nov 2018 22:51:02 +0000 (06:51 +0800)
committerJeremy Koritzinsky <jkoritzinsky@gmail.com>
Thu, 15 Nov 2018 22:51:02 +0000 (14:51 -0800)
commit9d2f9c4b4eebcac13247fa414bc8ca1c3a1d5b03
tree8725afbe4d4e00b041031771f1d9d3faac110681
parent97b25b3f1e66b31fbc9f42e8b65aec64710be085
Add PInvoke/DllImportpath tests (#19270)

* Add PInvoke/DllImportpath tests

* Refactor test to current toolset and remove Windows-only Path API searching.

* Remove explicit calling convention from managed and add correct convention to test.

* Get environment test passing on Unix.

* Update test to pass off-Windows.

* Include feature/platform defines in tests.

* Fix environment test (again).

* Remove zero-width character that's breaking CI

* Fix zero-width character I missed.

* Remove invalid parens around LD_LIBRARY_PATH

* Ensure the path added to the LD_LIBRARY_PATH exists before the test starts.

* Combine all DllImportPath CMakeLists.txt files into one file.

* Include clr.coreclr.props when also including clr.defines.targets so we get the feature defines correctly as well.

* Disable unicode test for our OSX 10.12 CI builds.
tests/src/Interop/CMakeLists.txt
tests/src/Interop/PInvoke/DllImportPath/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/PInvoke/DllImportPath/DllImportPathNative.cpp [new file with mode: 0644]
tests/src/Interop/PInvoke/DllImportPath/DllImportPathTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/DllImportPath/DllImportPathTest.csproj [new file with mode: 0644]
tests/src/dir.targets