Browse Source

Skip test if Avx is not supported

pull/1785/head
Brian Popow 5 years ago
parent
commit
48c0a26281
  1. 1
      tests/ImageSharp.Tests/Formats/Jpg/DCTTests.cs

1
tests/ImageSharp.Tests/Formats/Jpg/DCTTests.cs

@ -121,6 +121,7 @@ namespace SixLabors.ImageSharp.Tests.Formats.Jpg
if (!Avx.IsSupported) if (!Avx.IsSupported)
{ {
this.Output.WriteLine("No AVX present, skipping test!"); this.Output.WriteLine("No AVX present, skipping test!");
return;
} }
Span<float> src = Create8x8RoundedRandomFloatData(-200, 200, seed); Span<float> src = Create8x8RoundedRandomFloatData(-200, 200, seed);

Loading…
Cancel
Save