File tree 1 file changed +7
-3
lines changed
tests/ImageSharp.Tests/Formats/Bmp
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 4
4
using System ;
5
5
using System . IO ;
6
6
using Microsoft . DotNet . RemoteExecutor ;
7
-
7
+ using Microsoft . DotNet . XUnitExtensions ;
8
8
using SixLabors . ImageSharp . Formats . Bmp ;
9
9
using SixLabors . ImageSharp . Memory ;
10
10
using SixLabors . ImageSharp . Metadata ;
@@ -598,8 +598,7 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p
598
598
}
599
599
}
600
600
601
- [ Theory ]
602
- [ PlatformSpecific ( ~ TestPlatforms . Linux ) ] // See discussion on https://github.com/SixLabors/ImageSharp/pull/2890
601
+ [ ConditionalTheory ]
603
602
[ WithFile ( Os2BitmapArray , PixelTypes . Rgba32 ) ]
604
603
[ WithFile ( Os2BitmapArray9s , PixelTypes . Rgba32 ) ]
605
604
[ WithFile ( Os2BitmapArrayDiamond , PixelTypes . Rgba32 ) ]
@@ -612,6 +611,11 @@ public void BmpDecoder_CanDecode_Os2v2Header<TPixel>(TestImageProvider<TPixel> p
612
611
public void BmpDecoder_CanDecode_Os2BitmapArray < TPixel > ( TestImageProvider < TPixel > provider )
613
612
where TPixel : unmanaged, IPixel < TPixel >
614
613
{
614
+ if ( TestEnvironment . IsLinux )
615
+ {
616
+ throw new SkipTestException ( "See discussion on https://github.com/SixLabors/ImageSharp/pull/2890" ) ;
617
+ }
618
+
615
619
using ( Image < TPixel > image = provider . GetImage ( BmpDecoder ) )
616
620
{
617
621
image . DebugSave ( provider ) ;
You can’t perform that action at this time.
0 commit comments