Mark GCStressIncompatible and similar tests as out-of-proc (#67876)
authorTomáš Rylek <trylek@microsoft.com>
Tue, 12 Apr 2022 09:30:02 +0000 (11:30 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Apr 2022 09:30:02 +0000 (11:30 +0200)
According to current architecture we must mark conditionally
enabled tests as out of process because the special conditions
are tested in their individual execution scripts that are skipped
for ordinary merged tests.

Thanks

Tomas

46 files changed:
src/tests/JIT/Methodical/Arrays/lcs/lcs2_d.csproj
src/tests/JIT/Methodical/Arrays/lcs/lcs2_do.csproj
src/tests/JIT/Methodical/Arrays/lcs/lcs2_r.csproj
src/tests/JIT/Methodical/Arrays/lcs/lcs2_ro.csproj
src/tests/JIT/Methodical/Arrays/lcs/lcsvalbox_d.csproj
src/tests/JIT/Methodical/Arrays/lcs/lcsvalbox_do.csproj
src/tests/JIT/Methodical/Arrays/lcs/lcsvalbox_r.csproj
src/tests/JIT/Methodical/Arrays/lcs/lcsvalbox_ro.csproj
src/tests/JIT/Methodical/Boxing/misc/concurgc_il_d.ilproj
src/tests/JIT/Methodical/Boxing/misc/concurgc_il_r.ilproj
src/tests/JIT/Methodical/ELEMENT_TYPE_IU/u_conv_il_r.ilproj
src/tests/JIT/Methodical/VT/port/lcs_gcref_d.csproj
src/tests/JIT/Methodical/VT/port/lcs_gcref_do.csproj
src/tests/JIT/Methodical/VT/port/lcs_gcref_r.csproj
src/tests/JIT/Methodical/VT/port/lcs_gcref_ro.csproj
src/tests/JIT/Methodical/doublearray/dblarray1_cs_d.csproj
src/tests/JIT/Methodical/doublearray/dblarray1_cs_do.csproj
src/tests/JIT/Methodical/doublearray/dblarray1_cs_r.csproj
src/tests/JIT/Methodical/doublearray/dblarray1_cs_ro.csproj
src/tests/JIT/Methodical/doublearray/dblarray2_cs_d.csproj
src/tests/JIT/Methodical/doublearray/dblarray2_cs_do.csproj
src/tests/JIT/Methodical/doublearray/dblarray2_cs_r.csproj
src/tests/JIT/Methodical/doublearray/dblarray2_cs_ro.csproj
src/tests/JIT/Methodical/doublearray/dblarray3_cs_d.csproj
src/tests/JIT/Methodical/doublearray/dblarray3_cs_do.csproj
src/tests/JIT/Methodical/doublearray/dblarray3_cs_r.csproj
src/tests/JIT/Methodical/doublearray/dblarray3_cs_ro.csproj
src/tests/JIT/Methodical/doublearray/dblarray4_cs_d.csproj
src/tests/JIT/Methodical/doublearray/dblarray4_cs_do.csproj
src/tests/JIT/Methodical/doublearray/dblarray4_cs_r.csproj
src/tests/JIT/Methodical/doublearray/dblarray4_cs_ro.csproj
src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_d.ilproj
src/tests/JIT/Methodical/eh/deadcode/deadoponerrorinfunclet_il_r.ilproj
src/tests/JIT/Methodical/explicit/basic/refarg_i1_d.csproj
src/tests/JIT/Methodical/explicit/basic/refarg_i1_r.csproj
src/tests/JIT/Methodical/fp/exgen/10w5d_cs_d.csproj
src/tests/JIT/Methodical/fp/exgen/10w5d_cs_r.csproj
src/tests/JIT/Methodical/refany/stress1_d.csproj
src/tests/JIT/Methodical/refany/stress1_r.csproj
src/tests/JIT/Methodical/refany/stress1_ro.csproj
src/tests/JIT/Methodical/refany/virtcall_d.csproj
src/tests/JIT/Methodical/refany/virtcall_do.csproj
src/tests/JIT/Methodical/refany/virtcall_r.csproj
src/tests/JIT/Methodical/refany/virtcall_ro.csproj
src/tests/JIT/Methodical/tailcall/Desktop/thread-race_r.csproj
src/tests/JIT/Methodical/tailcall_v4/hijacking.ilproj

index f817793..6a95c13 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>Full</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="lcs2.cs" />
index b862db8..97ba087 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>Full</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="lcs2.cs" />
index 6b7ddc7..cdb1d11 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>None</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="lcs2.cs" />
index d48435b..7a6e5ca 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="lcs2.cs" />
index 4064bb6..2e1feb0 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 4a16f2c..2949869 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index adda62b..bdc82de 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index cfc3527..4e01bcf 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index 929b3b5..8c3599c 100644 (file)
@@ -4,6 +4,7 @@
     <RestorePackages>true</RestorePackages>
     <!-- The test leaves a secondary thread running -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index e9cf064..5981dcb 100644 (file)
@@ -4,6 +4,7 @@
     <RestorePackages>true</RestorePackages>
     <!-- The test leaves a secondary thread running -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index 8564360..ffa1af3 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
     <MonoAotIncompatible>true</MonoAotIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
index ffe120f..2406431 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 1ade25a..100c5f4 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 7f3b9ca..1d3203d 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index 8d8c3e2..cd7fdaf 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index b6edebb..5460264 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>Full</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray1.cs" />
index 6128193..d79cee6 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>Full</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray1.cs" />
index ccf1340..fe9f046 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>None</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray1.cs" />
index 2cd50ed..34569c6 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray1.cs" />
index 1fbe4db..d2de785 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>Full</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray2.cs" />
index 873dfcc..bd68bbf 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>Full</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray2.cs" />
index 9e7f612..97fe762 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>None</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray2.cs" />
index 6f8b673..4feb7e5 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray2.cs" />
index eeb6dfc..07898a5 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>Full</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray3.cs" />
index 13631f4..db0857b 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>Full</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray3.cs" />
index 30a0cc6..689064e 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>None</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray3.cs" />
index 8236036..288c9a8 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray3.cs" />
index 260b9d8..1d394f4 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>Full</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray4.cs" />
index 20755c2..aac2d46 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>Full</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray4.cs" />
index a2f33c4..1b26488 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>None</DebugType>
     <Optimize>False</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray4.cs" />
index 5de192b..9349afd 100644 (file)
@@ -7,6 +7,7 @@
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="dblarray4.cs" />
index 672ad9b..33f6656 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
     <MonoAotIncompatible>true</MonoAotIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 85b1aa3..f0168f1 100644 (file)
@@ -1,6 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk.IL">
   <PropertyGroup>
     <MonoAotIncompatible>true</MonoAotIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
index 136e1bb..2cdc5ac 100644 (file)
@@ -3,6 +3,7 @@
     <OutputType>Exe</OutputType>
     <!-- TestAssemblyLoadContext.Load called from the finalizer -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index ddf64e6..b2d49e5 100644 (file)
@@ -3,6 +3,7 @@
     <OutputType>Exe</OutputType>
     <!-- TestAssemblyLoadContext.Load called from the finalizer -->
     <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
   <PropertyGroup>
index d9e03b8..a7c5e01 100644 (file)
@@ -4,6 +4,7 @@
     <!-- NOTE: this test simply takes too long to complete under GC stress/heap verify; it is not fundamentally incompatible -->
     <GCStressIncompatible Condition="'$(TargetArchitecture)' == 'x86'">true</GCStressIncompatible>
     <HeapVerifyIncompatible>true</HeapVerifyIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 164352e..9081d94 100644 (file)
@@ -4,6 +4,7 @@
     <!-- NOTE: this test simply takes too long to complete under GC stress/heap verify; it is not fundamentally incompatible -->
     <GCStressIncompatible Condition="'$(TargetArchitecture)' == 'x86'">true</GCStressIncompatible>
     <HeapVerifyIncompatible>true</HeapVerifyIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index 0497150..4e5235c 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 5a3bab0..2dda3fc 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index d58cad7..ef91ffa 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
index a38e7a5..536ca74 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index d118078..ec0b79b 100644 (file)
@@ -2,6 +2,7 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 25ae1a0..870ca06 100644 (file)
@@ -2,11 +2,11 @@
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
     <Optimize>False</Optimize>
-    <GCStressIncompatible>true</GCStressIncompatible>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="virtcall.cs" />
index 58623d0..2cc0da9 100644 (file)
@@ -6,6 +6,7 @@
     <DebugType>None</DebugType>
     <Optimize>True</Optimize>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="virtcall.cs" />
index 0034e4a..e63ee8a 100644 (file)
@@ -3,6 +3,7 @@
     <!-- NOTE: this test simply takes too long to complete under heap verify or GCStress. It is not fundamentally incompatible. -->
     <HeapVerifyIncompatible>true</HeapVerifyIncompatible>
     <GCStressIncompatible>true</GCStressIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <IsLongRunningGCTest>true</IsLongRunningGCTest>
     <CLRTestPriority>1</CLRTestPriority>
   </PropertyGroup>
index da27e6f..3482e7b 100644 (file)
@@ -6,6 +6,7 @@
     <GCStressIncompatible Condition="'$(TargetArchitecture)' == 'arm64' and '$(TargetOS)' == 'OSX'">true</GCStressIncompatible>
     <!-- NOTE: this test simply takes too long to complete under heap verify. It is not fundamentally incompatible. -->
     <HeapVerifyIncompatible Condition="'$(TargetArchitecture)' == 'x86'">true</HeapVerifyIncompatible>
+    <RequiresProcessIsolation>true</RequiresProcessIsolation>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>PdbOnly</DebugType>