forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a mechanism to disable CLR tests under SuperPMI collection (d…
…otnet#108873) It should be _extremely_ rare to need to disable a test during SuperPMI collection. However, one case was found, so introduce the ability to do so. Use `<SuperPmiCollectIncompatible>true</SuperPmiCollectIncompatible>` in a test project file. (which also requires `<RequiresProcessIsolation>true</RequiresProcessIsolation>`) Fixes dotnet#108215
- Loading branch information
1 parent
c5b9a02
commit 270c2b1
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
src/tests/baseservices/exceptions/stackoverflow/stackoverflowtester.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<!-- Needed for GCStressIncompatible --> | ||
<!-- Needed for GCStressIncompatible, SuperPMICollectIncompatible --> | ||
<RequiresProcessIsolation>true</RequiresProcessIsolation> | ||
<Optimize>false</Optimize> | ||
<!-- Fails in many GCStress jobs. https://github.com/dotnet/runtime/issues/46279 --> | ||
<GCStressIncompatible>true</GCStressIncompatible> | ||
<!-- Exception handling in this test is incompatible with SuperPMI collection. See https://github.com/dotnet/runtime/issues/108215. --> | ||
<SuperPMICollectIncompatible>true</SuperPMICollectIncompatible> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="stackoverflowtester.cs" /> | ||
</ItemGroup> | ||
</Project> | ||
|