diff options
author | Jason Lin <Jason.Lin@microsoft.com> | 2017-05-15 06:38:12 +0300 |
---|---|---|
committer | Jason Lin <Jason.Lin@microsoft.com> | 2017-05-15 07:02:27 +0300 |
commit | cf3c7d5a3283da40e8a2849e8776e23c7292fb41 (patch) | |
tree | 0f5776c93cb8e2ec52d2dda051d20760dab8f3ce /src/System.Diagnostics.Process | |
parent | ce7e6454e3d9cd1735c06522dee512d75cfccf96 (diff) |
Enable most corefx tests for Bash on Windows
Many corefx tests are skipped when running on Bash on Windows. As of Win10 Creators Update, most of these skipped tests now pass, so they can now be enabled.
Diffstat (limited to 'src/System.Diagnostics.Process')
-rw-r--r-- | src/System.Diagnostics.Process/tests/ProcessTests.cs | 4 | ||||
-rw-r--r-- | src/System.Diagnostics.Process/tests/ProcessThreadTests.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Diagnostics.Process/tests/ProcessTests.cs b/src/System.Diagnostics.Process/tests/ProcessTests.cs index 7013ccb337..1add1a5410 100644 --- a/src/System.Diagnostics.Process/tests/ProcessTests.cs +++ b/src/System.Diagnostics.Process/tests/ProcessTests.cs @@ -588,7 +588,7 @@ namespace System.Diagnostics.Tests Assert.Throws<InvalidOperationException>(() => process.TotalProcessorTime); } - [ConditionalFact(nameof(PlatformDetection) + "." + nameof(PlatformDetection.IsNotWindowsSubsystemForLinux))] // https://github.com/Microsoft/BashOnWindows/issues/974 + [Fact] public void TestProcessStartTime() { TimeSpan allowedWindow = TimeSpan.FromSeconds(3); @@ -611,7 +611,7 @@ namespace System.Diagnostics.Tests Assert.Throws<InvalidOperationException>(() => process.ExitTime); } - [ConditionalFact(nameof(PlatformDetection) + "." + nameof(PlatformDetection.IsNotWindowsSubsystemForLinux))] // https://github.com/Microsoft/BashOnWindows/issues/968 + [Fact] [PlatformSpecific(~TestPlatforms.OSX)] // getting/setting affinity not supported on OSX public void TestProcessorAffinity() { diff --git a/src/System.Diagnostics.Process/tests/ProcessThreadTests.cs b/src/System.Diagnostics.Process/tests/ProcessThreadTests.cs index 96617f5a3e..b2c5945536 100644 --- a/src/System.Diagnostics.Process/tests/ProcessThreadTests.cs +++ b/src/System.Diagnostics.Process/tests/ProcessThreadTests.cs @@ -83,7 +83,7 @@ namespace System.Diagnostics.Tests } } - [ConditionalFact(nameof(PlatformDetection) + "." + nameof(PlatformDetection.IsNotWindowsSubsystemForLinux))] // https://github.com/Microsoft/BashOnWindows/issues/974 + [Fact] [PlatformSpecific(~TestPlatforms.OSX)] // OSX throws PNSE from StartTime public async Task TestStartTimeProperty() { |