Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 19cdca1

Browse files
Merge pull request #15850 from BruceForstall/FastGCStress
Do fast GC stress on some extreme tests
2 parents 6af8669 + 9348fda commit 19cdca1

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

tests/src/CoreMangLib/cti/system/string/StringConcat4.csproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@
2727
<!-- Add Compile Object Here -->
2828
<Compile Include="stringconcat4.cs" />
2929
</ItemGroup>
30+
<PropertyGroup>
31+
<CLRTestBatchPreCommands><![CDATA[
32+
$(CLRTestBatchPreCommands)
33+
set COMPlus_FastGCStress=1
34+
]]></CLRTestBatchPreCommands>
35+
<BashCLRTestPreCommands><![CDATA[
36+
$(BashCLRTestPreCommands)
37+
export COMPlus_FastGCStress=1
38+
]]></BashCLRTestPreCommands>
39+
</PropertyGroup>
3040
<ItemGroup>
3141
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
3242
</ItemGroup>
@@ -37,4 +47,4 @@
3747
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
3848
<PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
3949
</PropertyGroup>
40-
</Project>
50+
</Project>

tests/src/CoreMangLib/cti/system/string/StringConcat8.csproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@
2727
<!-- Add Compile Object Here -->
2828
<Compile Include="stringconcat8.cs" />
2929
</ItemGroup>
30+
<PropertyGroup>
31+
<CLRTestBatchPreCommands><![CDATA[
32+
$(CLRTestBatchPreCommands)
33+
set COMPlus_FastGCStress=1
34+
]]></CLRTestBatchPreCommands>
35+
<BashCLRTestPreCommands><![CDATA[
36+
$(BashCLRTestPreCommands)
37+
export COMPlus_FastGCStress=1
38+
]]></BashCLRTestPreCommands>
39+
</PropertyGroup>
3040
<ItemGroup>
3141
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
3242
</ItemGroup>
@@ -37,4 +47,4 @@
3747
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
3848
<PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
3949
</PropertyGroup>
40-
</Project>
50+
</Project>

tests/src/baseservices/threading/regressions/269336/objmonhelper.csproj

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@
2121
<Visible>False</Visible>
2222
</CodeAnalysisDependentAssemblyPaths>
2323
</ItemGroup>
24+
<PropertyGroup>
25+
<CLRTestBatchPreCommands><![CDATA[
26+
$(CLRTestBatchPreCommands)
27+
set COMPlus_FastGCStress=1
28+
]]></CLRTestBatchPreCommands>
29+
<BashCLRTestPreCommands><![CDATA[
30+
$(BashCLRTestPreCommands)
31+
export COMPlus_FastGCStress=1
32+
]]></BashCLRTestPreCommands>
33+
</PropertyGroup>
2434
<ItemGroup>
2535
<!-- Add Compile Object Here -->
2636
<Compile Include="objmonhelper.cs" />
@@ -31,4 +41,4 @@
3141
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
3242
<PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
3343
</PropertyGroup>
34-
</Project>
44+
</Project>

0 commit comments

Comments
 (0)