Enable CG2 determinism tests on all architectures (#48526)
authorTomáš Rylek <trylek@microsoft.com>
Sun, 21 Feb 2021 21:05:37 +0000 (22:05 +0100)
committerGitHub <noreply@github.com>
Sun, 21 Feb 2021 21:05:37 +0000 (22:05 +0100)
I have noticed that these two tests are still conditionally
executed on x64 only. I don't see why they shouldn't work on
other architectures.

Thanks

Tomas

src/tests/readytorun/coreroot_determinism/coreroot_determinism.csproj
src/tests/readytorun/determinism/crossgen2determinism.csproj

index 6f67250..3056eed 100644 (file)
@@ -3,8 +3,7 @@
     <OutputType>exe</OutputType>
     <CLRTestKind>BuildAndRun</CLRTestKind>
     <CLRTestPriority>0</CLRTestPriority>
-    <!-- Crossgen2 currently targets only x64 -->
-    <CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x64'">true</CLRTestTargetUnsupported>
+    <CLRTestTargetUnsupported Condition="'$(RuntimeFlavor)' != 'coreclr'">true</CLRTestTargetUnsupported>
     <!-- Known not to work with GCStress for now: https://github.com/dotnet/runtime/issues/13394 -->
     <GCStressIncompatible>true</GCStressIncompatible>
     <!-- It is currently failing with JitStress https://github.com/dotnet/runtime/issues/45326-->
index ed707ae..db389a1 100644 (file)
@@ -3,8 +3,7 @@
     <OutputType>exe</OutputType>
     <CLRTestKind>BuildAndRun</CLRTestKind>
     <CLRTestPriority>0</CLRTestPriority>
-    <!-- Crossgen2 currently targets only x64 -->
-    <CLRTestTargetUnsupported Condition="'$(TargetArchitecture)' != 'x64'">true</CLRTestTargetUnsupported>
+    <CLRTestTargetUnsupported Condition="'$(RuntimeFlavor)' != 'coreclr'">true</CLRTestTargetUnsupported>
     <!-- Known not to work with GCStress for now: https://github.com/dotnet/runtime/issues/13394 -->
     <GCStressIncompatible>true</GCStressIncompatible>
     <!-- This is an explicit crossgen test -->