Ignore some tests on macOS only due to small stack size (#90116)
authorEgor Bogatov <egorbo@gmail.com>
Wed, 9 Aug 2023 01:30:21 +0000 (03:30 +0200)
committerGitHub <noreply@github.com>
Wed, 9 Aug 2023 01:30:21 +0000 (03:30 +0200)
src/tests/JIT/jit64/opt/cse/HugeArray1.csproj
src/tests/JIT/jit64/opt/cse/hugeSimpleExpr1.csproj
src/tests/JIT/jit64/opt/rngchk/RngchkStress2_o.csproj

index e6438b8..da12a89 100644 (file)
@@ -3,6 +3,10 @@
     <!-- Needed for GCStressIncompatible -->
     <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <GCStressIncompatible>true</GCStressIncompatible>
+
+    <!-- The test is too complex to compile on macOS where secondary threads have small stack size by default
+         and that is not enough for Roslyn, see https://github.com/dotnet/runtime/issues/87879 -->
+    <DisableProjectBuild Condition="'$(HostOS)' == 'osx'">true</DisableProjectBuild>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 8119c82..7ae624a 100644 (file)
@@ -4,8 +4,10 @@
     <RequiresProcessIsolation>true</RequiresProcessIsolation>
     <!-- Timeout on Arm64 -->
     <GCStressIncompatible>true</GCStressIncompatible>
-    <!-- Issue: https://github.com/dotnet/runtime/issues/87879 -->
-    <DisableProjectBuild>true</DisableProjectBuild>
+
+    <!-- The test is too complex to compile on macOS where secondary threads have small stack size by default
+         and that is not enough for Roslyn, see https://github.com/dotnet/runtime/issues/87879 -->
+    <DisableProjectBuild Condition="'$(HostOS)' == 'osx'">true</DisableProjectBuild>
   </PropertyGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
index 1b64102..88a3a33 100644 (file)
@@ -2,8 +2,10 @@
   <PropertyGroup>
     <DebugType>PdbOnly</DebugType>
     <Optimize>True</Optimize>
-    <!-- Issue: https://github.com/dotnet/runtime/issues/87879 -->
-    <DisableProjectBuild>true</DisableProjectBuild>
+
+    <!-- The test is too complex to compile on macOS where secondary threads have small stack size by default
+         and that is not enough for Roslyn, see https://github.com/dotnet/runtime/issues/87879 -->
+    <DisableProjectBuild Condition="'$(HostOS)' == 'osx'">true</DisableProjectBuild>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="RngchkStress2.cs" />