Fix #21209 (#21237)
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Thu, 29 Nov 2018 07:09:30 +0000 (23:09 -0800)
committerGitHub <noreply@github.com>
Thu, 29 Nov 2018 07:09:30 +0000 (23:09 -0800)
commit0a0bcebae483b434c70875707c0eb1a493eb2e66
tree3a47895ed4d92be5c1691b43cedcce0c4c488a1e
parentb53d00dcc24149ee84ad8cfa9c23b253d8cf65e0
Fix #21209 (#21237)

This commit has two changes to Native Load Library Tests fix the failures in:
https://github.com/dotnet/coreclr/issues/21209

1) Windows: The test tried to load a DLL from Win32 directory which doesn't exist
   in Windows server 2016. So changed to use a file that exists.
2) Linux: Disable the test when run against packages -- because in this configuration
   the tests are built on Windows, and the native DLL is built separately and copied
   over to the CORE_ROOT directory instead of the test directory.
   [Several other tests are disabled with the comment "Issue building native DLL" on Linux]
tests/issues.targets
tests/src/Interop/MarshalAPI/NativeLibrary/NativeLibraryTests.cs