Change DllImportPath policy to create unicode-named test library immediately before...
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Wed, 29 May 2019 03:55:52 +0000 (20:55 -0700)
committerGitHub <noreply@github.com>
Wed, 29 May 2019 03:55:52 +0000 (20:55 -0700)
commitc614a00fed86ffa921b55d169bb6a7eb8625c7ff
tree066f6cc7e86e08afd5ed69994bca9e55bce878bb
parent34805dc3852ba218fcfd695bc0b9eb996860e025
Change DllImportPath policy to create unicode-named test library immediately before use (#24812)

* Change DllImportPath_Unicode to use valid unicode characters. Create DllImportPath_Unicode via copying in a MSBuild property (copying in the test script doesn't work with batch).

* Have the test create the unicode native library right before use.

* Get first Dllimportpath_local that has the correct extension (check instead of assuming that the first one is the correct one).
tests/src/Interop/PInvoke/DllImportPath/CMakeLists.txt
tests/src/Interop/PInvoke/DllImportPath/DllImportPathTest.cs