Do not force GcStress=0xc for GitHub_23199.
authorSergey Andreenko <seandree@microsoft.com>
Fri, 14 Jun 2019 00:50:15 +0000 (17:50 -0700)
committerSergey Andreenko <seandree@microsoft.com>
Fri, 14 Jun 2019 00:50:15 +0000 (17:50 -0700)
There was a typo for Unix (it is COMPlus_GCStress, not COMPlus_GcStress, but COMPlus_GcStressOnDirectCalls was correct). That was why the test passed on OSX.

tests/src/JIT/Regression/JitBlue/GitHub_23199/GitHub_23199.csproj

index 2738937..3abee21 100644 (file)
   <ItemGroup>
     <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
   </ItemGroup>
-  <PropertyGroup>
+  <!-- OSX doesn't support GCStress=0xc. -->
+  <PropertyGroup Condition="'$(__BuildOS)' != 'OSX'">
     <CLRTestBatchPreCommands><![CDATA[
 $(CLRTestBatchPreCommands)
 set COMPlus_GcStressOnDirectCalls=1
-set COMPlus_GcStress=0xc
+set COMPlus_GCStress=0xc
 ]]></CLRTestBatchPreCommands>
   <BashCLRTestPreCommands><![CDATA[
 $(BashCLRTestPreCommands)
 export COMPlus_GcStressOnDirectCalls=1
-export COMPlus_GcStress=0xc
+export COMPlus_GCStress=0xc
 ]]></BashCLRTestPreCommands>
   </PropertyGroup>
   <ItemGroup>