Skip to content

Commit

Permalink
Added a dependency to conditional attributes
Browse files Browse the repository at this point in the history
for IntegrationTests project.
Fixes dotnet#6653
  • Loading branch information
vladimir-krestov authored and Dmitrii Drobotov committed Apr 12, 2022
1 parent 97d9179 commit 0f3c16c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public ImageListTests(ITestOutputHelper testOutputHelper)
}

[ActiveIssue("https://github.com/dotnet/winforms/issues/6635")]
[WinFormsFact(Skip = "Flaky tests, see: https://github.com/dotnet/winforms/issues/6635")]
[ConditionalWinFormsFact(UnsupportedArchitecture = Architecture.X86,
Skip = "Flaky tests, see: https://github.com/dotnet/winforms/issues/6635")]
public void ImageList_FinalizerReleasesNativeHandle_ReturnsExpected()
{
// Warm up to create any GDI handles that are necessary, e.g. fonts, brushes, etc.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<ProjectReference Include="..\..\..\..\Common\tests\TestUtilities\System.Windows.Forms.Common.TestUtilities.csproj" />
<ProjectReference Include="..\..\..\..\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj" />
<ProjectReference Include="..\..\..\src\System.Windows.Forms.csproj" />
<ProjectReference Include="..\..\TestUtilities\System.Windows.Forms.TestUtilities.csproj" />
<ProjectReference Include="..\System.Windows.Forms.IntegrationTests.Common\System.Windows.Forms.IntegrationTests.Common.csproj" />
</ItemGroup>

Expand Down

0 comments on commit 0f3c16c

Please sign in to comment.