You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes issue #105422
On MacOS, FreeBSD, SunOS (the ports that share ProcessBSD.c)
the get/set WorkingSet methods only work on the current process.
Skip the parts of tests that operate on other processes.
Remove now redundant MacOS-speicifc tests.
Copy file name to clipboardExpand all lines: src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs
+3-19Lines changed: 3 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -602,20 +602,12 @@ public void TestMaxWorkingSet()
602
602
}
603
603
604
604
[Fact]
605
-
[SkipOnPlatform(TestPlatforms.OSX|TestPlatforms.FreeBSD|TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MaxWorkingSet is not supported on OSX, BSD, iOS, MacCatalyst, and tvOS.")]
605
+
[SkipOnPlatform(TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MaxWorkingSet is not supported on iOS, MacCatalyst, and tvOS.")]
@@ -657,21 +649,13 @@ public void TestMinWorkingSet()
657
649
}
658
650
659
651
[Fact]
660
-
[SkipOnPlatform(TestPlatforms.OSX|TestPlatforms.FreeBSD|TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MinWorkingSet is not supported on OSX, BSD, iOS, MacCatalyst, and tvOS.")]
652
+
[SkipOnPlatform(TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MinWorkingSet is not supported on iOS, MacCatalyst, and tvOS.")]
0 commit comments