未验证 提交 018b85a3 编写于 作者: T Tomáš Rylek 提交者: GitHub

Mark architecture-specific tests as requiring process isolation (#67394)

As discussed offline, according to the current merged wrapper
architecture, for architecture-variant tests all versions
are compiled and the "wrong" variants get skipped at runtime
using the ConditionalFact attribute. Sadly for some of the ILPROJ
tests JITting the "wrong" variant ends up crashing the JIT during
Crossgen2 compilation. We can follow up by figuring out whether
the crash is intentional but for now a simple way to work around
this problem (hitting just a small number of tests) is to mark
them as out-of-process tests so that the wrong variants get
filtered out early and R2R compilation is not triggered for them.

Thanks

Tomas
上级 c4990452
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '32'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,6 +4,7 @@
<RestorePackages>true</RestorePackages>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There are arch-specific versions of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There are arch-specific versions of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' == 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' == 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -6,6 +6,7 @@
<DebugType>Full</DebugType>
<!-- There are arch-specific versions of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<ItemGroup>
<Compile Include="sizeof64_Target_32Bit_x86.il" />
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There are arch-specific versions of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -6,6 +6,7 @@
<DebugType>Full</DebugType>
<!-- There are arch-specific versions of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' == 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
</PropertyGroup>
<ItemGroup>
<Compile Include="sizeof64_Target_64Bit_and_arm.il" />
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' == 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There are arch-specific versions of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There are arch-specific versions of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x86'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup>
......
......@@ -5,6 +5,7 @@
<CLRTestPriority>1</CLRTestPriority>
<!-- There is a 32 and 64 version of this test to allow it to be compiled for all targets -->
<CLRTestTargetUnsupported Condition="'$(TargetBits)' != '64'">true</CLRTestTargetUnsupported>
<RequiresProcessIsolation>true</RequiresProcessIsolation>
<DebugType>PdbOnly</DebugType>
</PropertyGroup>
<ItemGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册