diff --git a/tests/ImageSharp.Tests/Formats/Jpg/DCTTests.cs b/tests/ImageSharp.Tests/Formats/Jpg/DCTTests.cs index b4d3769d7..0a49d20cd 100644 --- a/tests/ImageSharp.Tests/Formats/Jpg/DCTTests.cs +++ b/tests/ImageSharp.Tests/Formats/Jpg/DCTTests.cs @@ -121,6 +121,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Jpg if (!Avx.IsSupported) { this.Output.WriteLine("No AVX present, skipping test!"); + return; } Span src = Create8x8RoundedRandomFloatData(-200, 200, seed);