-
-
Notifications
You must be signed in to change notification settings - Fork 888
Backport #2859 to release/2.1.x #2890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
367c077
f7b05d7
3346285
01cbfc4
cbb3094
5403749
e9e4688
efc3fc4
adb85d9
44d294e
67f7848
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| using System; | ||
| using System.IO; | ||
| using Microsoft.DotNet.RemoteExecutor; | ||
|
|
||
| using Microsoft.DotNet.XUnitExtensions; | ||
| using SixLabors.ImageSharp.Formats.Bmp; | ||
| using SixLabors.ImageSharp.Memory; | ||
| using SixLabors.ImageSharp.Metadata; | ||
|
|
@@ -598,7 +598,7 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p | |
| } | ||
| } | ||
|
|
||
| [Theory] | ||
| [ConditionalTheory] | ||
| [WithFile(Os2BitmapArray, PixelTypes.Rgba32)] | ||
| [WithFile(Os2BitmapArray9s, PixelTypes.Rgba32)] | ||
| [WithFile(Os2BitmapArrayDiamond, PixelTypes.Rgba32)] | ||
|
|
@@ -611,6 +611,11 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p | |
| public void BmpDecoder_CanDecode_Os2BitmapArray<TPixel>(TestImageProvider<TPixel> provider) | ||
| where TPixel : unmanaged, IPixel<TPixel> | ||
| { | ||
| if (TestEnvironment.IsLinux) | ||
| { | ||
| throw new SkipTestException("See discussion on https://github.com/SixLabors/ImageSharp/pull/2890"); | ||
| } | ||
|
||
|
|
||
| using (Image<TPixel> image = provider.GetImage(BmpDecoder)) | ||
| { | ||
| image.DebugSave(provider); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I decided to keep the current state as the basis to avoid accidentally changing the package targets.
The magic to revive old .NET versions is to manually install libssl 1.1.