Skip to content

Commit b0c3672

Browse files
committed
Disable unit test on arm64 because it doesn't work on Linux and Windows arm64.
1 parent 70b8c88 commit b0c3672

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Magick.NET.Tests/MagickImageCollectionTests/TheComplexMethod.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0.
33

44
using System;
5+
using System.Runtime.InteropServices;
56
using ImageMagick;
67
using Xunit;
78

@@ -31,7 +32,7 @@ public void ShouldThrowExceptionWhenSettingsIsNull()
3132
[Fact]
3233
public void ShouldApplyTheOperatorToTheImages()
3334
{
34-
Assert.SkipWhen(TestRuntime.HasFlakyLinuxArm64Result, "Flaky result on Linux arm64.");
35+
Assert.SkipWhen(Runtime.Architecture == Architecture.Arm64, "Flaky result on Linux and Windows arm64.");
3536

3637
using var images = new MagickImageCollection();
3738
images.Read(Files.RoseSparkleGIF);

0 commit comments

Comments
 (0)