From a67f9d4cd20254e09f584d4a94cc468d940ef61f Mon Sep 17 00:00:00 2001 From: Kunal Pathak Date: Fri, 12 May 2023 13:37:39 -0700 Subject: [PATCH 1/3] Fix the test build error --- src/tests/JIT/opt/SSA/MemorySsa.csproj | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/tests/JIT/opt/SSA/MemorySsa.csproj b/src/tests/JIT/opt/SSA/MemorySsa.csproj index f3e1cbd44b4041..501217e4d86892 100644 --- a/src/tests/JIT/opt/SSA/MemorySsa.csproj +++ b/src/tests/JIT/opt/SSA/MemorySsa.csproj @@ -1,7 +1,4 @@ - - Exe - None True From 8a71508f15f1d2dceb42759a89a14e440128748a Mon Sep 17 00:00:00 2001 From: Kunal Pathak Date: Fri, 12 May 2023 13:52:59 -0700 Subject: [PATCH 2/3] disable test MemorySSA --- src/tests/issues.targets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/issues.targets b/src/tests/issues.targets index cfbfbd31757013..f2796be7a7d079 100644 --- a/src/tests/issues.targets +++ b/src/tests/issues.targets @@ -17,6 +17,9 @@ https://github.com/dotnet/runtime/issues/80184 + + https://github.com/dotnet/runtime/issues/86112 + From 28fed5154899468bdbcd113b7a5dd46e08e62642 Mon Sep 17 00:00:00 2001 From: Mark Plesko Date: Fri, 12 May 2023 13:56:31 -0700 Subject: [PATCH 3/3] Update MemorySsa.cs to [Fact] --- src/tests/JIT/opt/SSA/MemorySsa.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tests/JIT/opt/SSA/MemorySsa.cs b/src/tests/JIT/opt/SSA/MemorySsa.cs index 9d2d46f3e25287..db67163a3352f2 100644 --- a/src/tests/JIT/opt/SSA/MemorySsa.cs +++ b/src/tests/JIT/opt/SSA/MemorySsa.cs @@ -3,12 +3,14 @@ using System; using System.Runtime.CompilerServices; +using Xunit; public class MemorySsaTests { private static int _intStatic; - public static int Main() + [Fact] + public static int TestEntryPoint() { return ProblemWithHandlerPhis(new int[0]) ? 101 : 100; }