Skip to content

Commit 57b695a

Browse files
authored
Skip TestNativeLibraryProbingOnPathEnv on macOS (#81856)
1 parent 9a80090 commit 57b695a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/tests/Interop/DllImportAttribute/DllImportPath/DllImportPathTest.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,14 @@ public static int Main(string[] args)
174174
{
175175
TestNativeLibraryProbingOnLocalPath();
176176
TestNativeLibraryProbingOnRelativePath();
177-
if (!OperatingSystem.IsMacOS()) // This test fails due to a bug in OSX 10.12 combined with the weird way that HFS+ handles unicode file names
177+
if (!OperatingSystem.IsMacOS())
178178
{
179+
// This test fails due to a bug in OSX 10.12 combined with the weird way that HFS+ handles unicode file names
179180
TestNativeLibraryProbingUnicode();
181+
182+
// Propagating LD_LIBRARY_PATH/DYLD_LIBRARY_PATH may blocked on Mac due to System Integrity Protection
183+
TestNativeLibraryProbingOnPathEnv();
180184
}
181-
TestNativeLibraryProbingOnPathEnv();
182185
if (OperatingSystem.IsWindows())
183186
{
184187
TestNativeExeProbing();

0 commit comments

Comments
 (0)