From 8ca1c969c068ebfac4abdc25ab1eee1455ae6be3 Mon Sep 17 00:00:00 2001 From: Hamish Arblaster Date: Wed, 7 Feb 2024 07:55:02 +1100 Subject: [PATCH] Re-enable some tests, and respect `IlcDefaultStackSize` on Windows - Re-enable disabled tests tracked by #1417 and #2084 - Make stack size configurable on NAOT via `IlcDefaultStackSize` on Windows --- .../BuildIntegration/Microsoft.NETCore.Native.Windows.targets | 3 ++- .../tests/DataContractSerializer.cs | 1 - .../System.Threading.Tasks.Tests/Task/TaskContinueWithTests.cs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets index 1ea0a9d1fb239..1224a0eb30814 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Windows.targets @@ -94,7 +94,8 @@ The .NET Foundation licenses this file to you under the MIT license. - + + diff --git a/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializer.cs b/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializer.cs index 8a7acf0800596..bbf437b40207e 100644 --- a/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializer.cs +++ b/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializer.cs @@ -4475,7 +4475,6 @@ public static void DCS_TypeWithPrimitiveKnownTypes() Assert.NotNull(actual); } - [ActiveIssue("https://github.com/dotnet/runtime/issues/1417", TestPlatforms.OSX)] [SkipOnPlatform(TestPlatforms.Browser, "Causes a stack overflow")] [Fact] public static void DCS_DeeplyLinkedData() diff --git a/src/libraries/System.Runtime/tests/System.Threading.Tasks.Tests/Task/TaskContinueWithTests.cs b/src/libraries/System.Runtime/tests/System.Threading.Tasks.Tests/Task/TaskContinueWithTests.cs index b426a576d982b..7e204159fb19e 100644 --- a/src/libraries/System.Runtime/tests/System.Threading.Tasks.Tests/Task/TaskContinueWithTests.cs +++ b/src/libraries/System.Runtime/tests/System.Threading.Tasks.Tests/Task/TaskContinueWithTests.cs @@ -1223,7 +1223,6 @@ public static void RunLazyCancellationTests_Negative() } [Fact] - [ActiveIssue("https://github.com/dotnet/runtime/issues/2084", TestRuntimes.Mono)] public static void LongContinuationChain_ContinueWith_DoesNotStackOverflow() { const int DiveDepth = 12_000;