File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Settings/MagickSettingsTests Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ public void ShouldUseWidthAndHeightFromReadSettings()
8888 [ Fact ]
8989 public void ShouldReadFontsWithQuotes ( )
9090 {
91+ Assert . SkipWhen ( TestRuntime . HasFlakyMacOSArm64Result , "Flaky result on MacOS arm64." ) ;
92+
9193 var svg = @"<?xml version=""1.0"" encoding=""utf-8""?>
9294<svg version=""1.1"" xmlns=""http://www.w3.org/2000/svg"" xmlns:xlink=""http://www.w3.org/1999/xlink"" viewBox=""0 0 220 80"">
9395<style type=""text/css"">
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ public void ShouldDefaultToNull()
2121 [ Fact ]
2222 public void ShouldSetTheFontWhenReadingImage ( )
2323 {
24+ Assert . SkipWhen ( TestRuntime . HasFlakyMacOSArm64Result , "Flaky result on MacOS arm64." ) ;
25+
2426 using var image = new MagickImage ( ) ;
2527
2628 Assert . Null ( image . Settings . Font ) ;
Original file line number Diff line number Diff line change @@ -14,13 +14,10 @@ static TestRuntime()
1414 var isMacOS = RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) ;
1515
1616 HasFlakyLinuxArm64Result = isLinux && Runtime . Architecture == Architecture . Arm64 ;
17- HasFlakyMacOSResult = isMacOS ;
1817 HasFlakyMacOSArm64Result = isMacOS && Runtime . Architecture == Architecture . Arm64 ;
1918 }
2019
2120 public static bool HasFlakyLinuxArm64Result { get ; }
2221
23- public static bool HasFlakyMacOSResult { get ; }
24-
2522 public static bool HasFlakyMacOSArm64Result { get ; }
2623}
You can’t perform that action at this time.
0 commit comments