Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@

<CLRTestBatchPreCommands><![CDATA[
$(CLRTestBatchPreCommands)
set DOTNET_GCStress=0xC
set DOTNET_GCHeapHardLimit=0x4000000
set DOTNET_GCRegionRange=0x4000000
set DOTNET_GCRegionSize=0x100000
]]></CLRTestBatchPreCommands>
<CLRTestBashPreCommands><![CDATA[
$(CLRTestBashPreCommands)
export DOTNET_GCStress=0xC
export DOTNET_GCHeapHardLimit=0x4000000
export DOTNET_GCRegionRange=0x4000000
export DOTNET_GCRegionSize=0x100000
Expand Down
15 changes: 0 additions & 15 deletions src/tests/JIT/Regression/JitBlue/GitHub_27924/GitHub_27924.csproj
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Needed for CLRTestBatchEnvironmentVariable -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<!-- Test enables GC stress C which is not compatible with the interpreter -->
<InterpreterIncompatible>true</InterpreterIncompatible>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BrzVlad why wasn't the <InterpreterIncompatible> tag sufficient?

</PropertyGroup>
<PropertyGroup>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildProjectName).cs" />

<!-- This test requires GCStress to trigger the regression. Set DOTNET_GCStress here. However,
not all CI platforms support GCStress. In particular, macOS and Alpine do not (currently).
All Windows support GCStress. We don't have any way (currently) to determine if we're
running on a platform that supports GCStress. So, don't set GCStress for non-Windows (Bash).
The test will run under GCStress in normal, scheduled GCStress runs, when only the supported
platforms are run with GCStress.
-->
<CLRTestBatchEnvironmentVariable Include="DOTNET_GCStress" Value="0xc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(TestLibraryProjectPath)" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Needed for CLRTestBatchEnvironmentVariable -->
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>None</DebugType>
<Optimize>True</Optimize>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<!-- Test uses GCStress C that is not compatible with the interpreter -->
<InterpreterIncompatible>true</InterpreterIncompatible>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildProjectName).cs" />

<CLRTestBatchEnvironmentVariable Include="DOTNET_GCStress" Value="0xC" />
</ItemGroup>
</Project>
Loading