From 48d603550ed0cdda38b8788746c4bc1bde50c2d2 Mon Sep 17 00:00:00 2001 From: Milos Kotlar Date: Fri, 6 Feb 2026 09:42:26 +0100 Subject: [PATCH 1/2] Disable runtime async feature in System.Diagnostics.StackTrace tests --- .../System.Diagnostics.StackTrace/tests/StackTraceTests.cs | 1 - .../tests/System.Diagnostics.StackTrace.Tests.csproj | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs b/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs index 5ac1233fb39fde..c4c90005db325c 100644 --- a/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs +++ b/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs @@ -628,7 +628,6 @@ public static IEnumerable Ctor_Async_TestData() [ActiveIssue("https://github.com/dotnet/runtime/issues/123979", typeof(PlatformDetection), nameof(PlatformDetection.IsArmProcess))] [ActiveIssue("https://github.com/dotnet/runtime/issues/124015", typeof(PlatformDetection), nameof(PlatformDetection.IsArm64Process))] - [ActiveIssue("https://github.com/dotnet/runtime/issues/124044", typeof(PlatformDetection), nameof(PlatformDetection.IsCoreClrInterpreter))] [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsRuntimeAsyncSupported))] [MemberData(nameof(Ctor_Async_TestData))] [MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)] diff --git a/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj b/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj index f79e303d2e06d0..01e3ab5cac8fc4 100644 --- a/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj +++ b/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj @@ -4,7 +4,8 @@ true true true - true + + true true From 440866e8a70a724b98e3182e853b0f2ce0f7ba14 Mon Sep 17 00:00:00 2001 From: Milos Kotlar Date: Fri, 6 Feb 2026 11:27:20 +0100 Subject: [PATCH 2/2] Disable runtime async on Apple mobile --- eng/testing/tests.targets | 1 + .../tests/System.Diagnostics.StackTrace.Tests.csproj | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/testing/tests.targets b/eng/testing/tests.targets index 8c058abf2b7990..6579ff2f0ba884 100644 --- a/eng/testing/tests.targets +++ b/eng/testing/tests.targets @@ -7,6 +7,7 @@ and '$(TargetOS)' != 'browser' and '$(TargetOS)' != 'wasi' and '$(RuntimeFlavor)' != 'Mono' + and '$(TargetsAppleMobile)' != 'true' and '$(UseRuntimeAsync)' != 'false'"> true $(Features);runtime-async=on diff --git a/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj b/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj index 01e3ab5cac8fc4..f79e303d2e06d0 100644 --- a/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj +++ b/src/libraries/System.Diagnostics.StackTrace/tests/System.Diagnostics.StackTrace.Tests.csproj @@ -4,8 +4,7 @@ true true true - - true + true true