This test runs out of memory on x86 when its huge expressions combine with
STRESS_CLONE_EXPR. In this case, the "OptimizationSensitive" label isn't ideal,
but the meaning is what we need: don't run this under JitStress modes.
This is disabled at build time for x86, which means that if x64-built tests are
run on other architectures, e.g. ARM or ARM64, this change won't take effect.
<PropertyGroup>
<DebugType>Full</DebugType>
<Optimize>True</Optimize>
+ <!-- This test is very resource heavy and doesn't play well with some JitStress modes, especially when memory is limited -->
+ <JitOptimizationSensitive Condition="'$(Platform)' == 'x86'">true</JitOptimizationSensitive>
</PropertyGroup>
<ItemGroup>
<Compile Include="hugeexpr1.cs" />
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
<PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
</PropertyGroup>
-</Project>
\ No newline at end of file
+</Project>