Disable System.Drawing.Common tests for RedHat6 (dotnet/corefx#38649)
authorSantiago Fernandez Madero <safern@microsoft.com>
Tue, 18 Jun 2019 18:44:55 +0000 (11:44 -0700)
committerDan Moseley <danmose@microsoft.com>
Tue, 18 Jun 2019 18:44:55 +0000 (11:44 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/a7e0c8d9e14a4f814a7e08ddfd0316353c37dd95

src/libraries/Common/tests/System/Drawing/Helpers.cs

index 3f8001e..8a7098e 100644 (file)
@@ -20,7 +20,7 @@ namespace System.Drawing
         public const string AnyInstalledPrinters = nameof(Helpers) + "." + nameof(IsAnyInstalledPrinters);
         public const string WindowsRS3OrEarlier = nameof(Helpers) + "." + nameof(IsWindowsRS3OrEarlier);
 
-        public static bool GetIsDrawingSupported() => PlatformDetection.IsDrawingSupported;
+        public static bool GetIsDrawingSupported() => /* ActiveIssue(24525) */ PlatformDetection.IsNotRedHatFamily6 && PlatformDetection.IsDrawingSupported;
 
         public static bool IsNotUnix => PlatformDetection.IsWindows;