dotnet / dotnet/winforms

Test failure: System.Drawing.Drawing2D.Tests.LinearGradientBrushTests.Ctor_PointF_PointF_Color_Color

Open
#8,819 1 comment 0 reactions 0 assignees View on GitHub
arch-arm64 area-System.Drawing
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

Note that the failure occurs on Arm64 only!

The test: https://github.com/dmklementiev/corefx/blob/master/src/System.Drawing.Common/tests/Drawing2D/LinearGradientBrushTests.cs has failed with the following details:

Unhandled Exception of Type Xunit.Sdk.EqualException
Message :
Assert.Equal() Failure
Expected: {X=0,Y=0,Width=2,Height=2}
Actual: {X=0,Y=-1,Width=2,Height=2}

Stack Trace :
at System.Drawing.Drawing2D.Tests.LinearGradientBrushTests.Ctor_PointF_PointF_Color_Color(Point point1, Point point2, Color color1, Color color2, RectangleF expectedRectangle) in /mnt/j/workspace/dotnet_corefx/master/linux-TGroup_netcoreapp+CGroup_Release+AGroup_arm64+TestOuter_false_prtest/src/System.Drawing.Common/tests/Drawing2D/LinearGradientBrushTests.cs:line 39

Exactly the same problem with another test:

Stack Trace :
at System.Drawing.Drawing2D.Tests.LinearGradientBrushTests.Ctor_Point_Point_Color_Color(Point point1, Point point2, Color color1, Color color2, RectangleF expectedRectangle) in /mnt/j/workspace/dotnet_corefx/master/linux-TGroup_netcoreapp+CGroup_Release+AGroup_arm64+TestOuter_false_prtest/src/System.Drawing.Common/tests/Drawing2D/LinearGradientBrushTests.cs:line 68

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.