File tree 1 file changed +3
-2
lines changed
src/libraries/System.Diagnostics.Process/tests 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,10 @@ public void ModulesAreDisposedWhenProcessIsDisposed()
93
93
}
94
94
95
95
public static bool Is_LongModuleFileNamesAreSupported_TestEnabled
96
- => PathFeatures . AreAllLongPathsAvailable ( ) // we want to test long paths
96
+ => OperatingSystem . IsWindows ( ) // it's specific to Windows
97
+ && PathFeatures . AreAllLongPathsAvailable ( ) // we want to test long paths
97
98
&& ! PlatformDetection . IsMonoRuntime // Assembly.LoadFile used the way this test is implemented fails on Mono
98
- && OperatingSystem . IsWindowsVersionAtLeast ( 8 ) ; // it's specific to Windows and does not work on Windows 7
99
+ && PlatformDetection . Is64BitProcess ; // for some reason it's flaky on x86
99
100
100
101
[ ConditionalFact ( typeof ( ProcessModuleTests ) , nameof ( Is_LongModuleFileNamesAreSupported_TestEnabled ) ) ]
101
102
public void LongModuleFileNamesAreSupported ( )
You can’t perform that action at this time.
0 commit comments