File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
tests/ImageSharp.Tests/Formats/Bmp Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 44using System ;
55using System . IO ;
66using Microsoft . DotNet . RemoteExecutor ;
7-
7+ using Microsoft . DotNet . XUnitExtensions ;
88using SixLabors . ImageSharp . Formats . Bmp ;
99using SixLabors . ImageSharp . Memory ;
1010using SixLabors . ImageSharp . Metadata ;
@@ -598,8 +598,7 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p
598598 }
599599 }
600600
601- [ Theory ]
602- [ PlatformSpecific ( ~ TestPlatforms . Linux ) ] // See discussion on https://github.com/SixLabors/ImageSharp/pull/2890
601+ [ ConditionalTheory ]
603602 [ WithFile ( Os2BitmapArray , PixelTypes . Rgba32 ) ]
604603 [ WithFile ( Os2BitmapArray9s , PixelTypes . Rgba32 ) ]
605604 [ WithFile ( Os2BitmapArrayDiamond , PixelTypes . Rgba32 ) ]
@@ -612,6 +611,11 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p
612611 public void BmpDecoder_CanDecode_Os2BitmapArray < TPixel > ( TestImageProvider < TPixel > provider )
613612 where TPixel : unmanaged, IPixel < TPixel >
614613 {
614+ if ( TestEnvironment . IsLinux )
615+ {
616+ throw new SkipTestException ( "See discussion on https://github.com/SixLabors/ImageSharp/pull/2890" ) ;
617+ }
618+
615619 using ( Image < TPixel > image = provider . GetImage ( BmpDecoder ) )
616620 {
617621 image . DebugSave ( provider ) ;
You can’t perform that action at this time.
0 commit comments