summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Keldorph <Russ.Keldorph@microsoft.com>2016-04-30 23:16:41 -0700
committerRuss Keldorph <Russ.Keldorph@microsoft.com>2016-04-30 23:16:41 -0700
commitb2fcfdc4c87229a4d884eb1b25cac79d6f3f3648 (patch)
tree233a2dc94678bfa74518d54d6fd2e6027c25e34a
parentae0b815a0483ebdc861da14d41f3f4c10d3a477a (diff)
downloadcoreclr-b2fcfdc4c87229a4d884eb1b25cac79d6f3f3648.tar.gz
coreclr-b2fcfdc4c87229a4d884eb1b25cac79d6f3f3648.tar.bz2
coreclr-b2fcfdc4c87229a4d884eb1b25cac79d6f3f3648.zip
Mark some GC tests incompatible with GCStress
These tests rely on counting numbers of collections, which is unreliable (or at best different than what the test expects) under GCStress.
-rw-r--r--tests/src/GC/API/GC/AddMemoryPressureTest.csproj1
-rw-r--r--tests/src/GC/API/GC/AddThresholdTest.csproj1
-rw-r--r--tests/src/GC/API/GC/AddUsageTest.csproj1
-rw-r--r--tests/src/GC/API/GC/RemoveUsageTest.csproj1
-rw-r--r--tests/src/GC/API/GCHandleCollector/Usage.csproj1
-rw-r--r--tests/src/GC/Regressions/v2.0-beta2/452950/452950.csproj5
6 files changed, 9 insertions, 1 deletions
diff --git a/tests/src/GC/API/GC/AddMemoryPressureTest.csproj b/tests/src/GC/API/GC/AddMemoryPressureTest.csproj
index 75a51ece96..90a255e391 100644
--- a/tests/src/GC/API/GC/AddMemoryPressureTest.csproj
+++ b/tests/src/GC/API/GC/AddMemoryPressureTest.csproj
@@ -31,6 +31,7 @@
<DebugType>PdbOnly</DebugType>
<NoLogo>True</NoLogo>
<DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+ <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<ItemGroup>
<Compile Include="AddMemoryPressureTest.cs" />
diff --git a/tests/src/GC/API/GC/AddThresholdTest.csproj b/tests/src/GC/API/GC/AddThresholdTest.csproj
index d98edd8776..9b5faaeab6 100644
--- a/tests/src/GC/API/GC/AddThresholdTest.csproj
+++ b/tests/src/GC/API/GC/AddThresholdTest.csproj
@@ -31,6 +31,7 @@
<DebugType>PdbOnly</DebugType>
<NoLogo>True</NoLogo>
<DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+ <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<ItemGroup>
<Compile Include="AddThresholdTest.cs" />
diff --git a/tests/src/GC/API/GC/AddUsageTest.csproj b/tests/src/GC/API/GC/AddUsageTest.csproj
index ddf2da2672..fef178244a 100644
--- a/tests/src/GC/API/GC/AddUsageTest.csproj
+++ b/tests/src/GC/API/GC/AddUsageTest.csproj
@@ -31,6 +31,7 @@
<DebugType>PdbOnly</DebugType>
<NoLogo>True</NoLogo>
<DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+ <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<ItemGroup>
<Compile Include="AddUsageTest.cs" />
diff --git a/tests/src/GC/API/GC/RemoveUsageTest.csproj b/tests/src/GC/API/GC/RemoveUsageTest.csproj
index b3a8abbfa0..fc012365e3 100644
--- a/tests/src/GC/API/GC/RemoveUsageTest.csproj
+++ b/tests/src/GC/API/GC/RemoveUsageTest.csproj
@@ -31,6 +31,7 @@
<DebugType>PdbOnly</DebugType>
<NoLogo>True</NoLogo>
<DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+ <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<ItemGroup>
<Compile Include="RemoveUsageTest.cs" />
diff --git a/tests/src/GC/API/GCHandleCollector/Usage.csproj b/tests/src/GC/API/GCHandleCollector/Usage.csproj
index 486820655b..cd8f14f1b9 100644
--- a/tests/src/GC/API/GCHandleCollector/Usage.csproj
+++ b/tests/src/GC/API/GCHandleCollector/Usage.csproj
@@ -31,6 +31,7 @@
<DebugType>PdbOnly</DebugType>
<NoLogo>True</NoLogo>
<DefineConstants>$(DefineConstants);DESKTOP</DefineConstants>
+ <GCStressIncompatible>true</GCStressIncompatible>
</PropertyGroup>
<ItemGroup>
<Compile Include="Usage.cs" />
diff --git a/tests/src/GC/Regressions/v2.0-beta2/452950/452950.csproj b/tests/src/GC/Regressions/v2.0-beta2/452950/452950.csproj
index 247966c13d..21589ef835 100644
--- a/tests/src/GC/Regressions/v2.0-beta2/452950/452950.csproj
+++ b/tests/src/GC/Regressions/v2.0-beta2/452950/452950.csproj
@@ -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>