Mark some GC tests incompatible with GCStress
authorRuss Keldorph <Russ.Keldorph@microsoft.com>
Sun, 1 May 2016 06:16:41 +0000 (23:16 -0700)
committerRuss Keldorph <Russ.Keldorph@microsoft.com>
Sun, 1 May 2016 06:16:41 +0000 (23:16 -0700)
These tests rely on counting numbers of collections, which is unreliable
(or at best different than what the test expects) under GCStress.

tests/src/GC/API/GC/AddMemoryPressureTest.csproj
tests/src/GC/API/GC/AddThresholdTest.csproj
tests/src/GC/API/GC/AddUsageTest.csproj
tests/src/GC/API/GC/RemoveUsageTest.csproj
tests/src/GC/API/GCHandleCollector/Usage.csproj
tests/src/GC/Regressions/v2.0-beta2/452950/452950.csproj

index 75a51ec..90a255e 100644 (file)
@@ -31,6 +31,7 @@
     <DebugType>PdbOnly</DebugType>
     <NoLogo>True</NoLogo>
     <DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+    <GCStressIncompatible>true</GCStressIncompatible>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="AddMemoryPressureTest.cs" />
index d98edd8..9b5faae 100644 (file)
@@ -31,6 +31,7 @@
     <DebugType>PdbOnly</DebugType>
     <NoLogo>True</NoLogo>
     <DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+    <GCStressIncompatible>true</GCStressIncompatible>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="AddThresholdTest.cs" />
index ddf2da2..fef1782 100644 (file)
@@ -31,6 +31,7 @@
     <DebugType>PdbOnly</DebugType>
     <NoLogo>True</NoLogo>
     <DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+    <GCStressIncompatible>true</GCStressIncompatible>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="AddUsageTest.cs" />
index b3a8abb..fc01236 100644 (file)
@@ -31,6 +31,7 @@
     <DebugType>PdbOnly</DebugType>
     <NoLogo>True</NoLogo>
     <DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+    <GCStressIncompatible>true</GCStressIncompatible>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="RemoveUsageTest.cs" />
index 4868206..cd8f14f 100644 (file)
@@ -31,6 +31,7 @@
     <DebugType>PdbOnly</DebugType>
     <NoLogo>True</NoLogo>
     <DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+    <GCStressIncompatible>true</GCStressIncompatible>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="Usage.cs" />
index 247966c..21589ef 100644 (file)
@@ -24,6 +24,9 @@
       <Visible>False</Visible>
     </CodeAnalysisDependentAssemblyPaths>
   </ItemGroup>
+  <PropertyGroup>
+    <GCStressIncompatible>true</GCStressIncompatible>
+  </PropertyGroup>
   <ItemGroup>
     <!-- Add Compile Object Here -->
     <Compile Include="452950.cs" />
@@ -42,4 +45,4 @@
   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
   <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
   </PropertyGroup>
-</Project>
\ No newline at end of file
+</Project>