From 36208a52133291771752e0f78a0ca4318ef870d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Tue, 12 Jul 2022 21:02:00 +0900 Subject: [PATCH] Rebucket tests that fail with NativeAOT and fix some (#71819) * Round 1 Actually failing build: System.Diagnostics.Debug.Tests Made fully passing: System.Diagnostics.FileVersionInfo * Round 2 All of these tests build just fine. Many of them also fully pass. * Round 3 * Round 4 * Update tests.proj * Hack around the WASM hacks * Update tests.proj * Update System.Diagnostics.FileVersionInfo.Tests.csproj * Update tests.proj --- .../System.Diagnostics.Debug.Tests.csproj | 2 + ...m.Diagnostics.FileVersionInfo.Tests.csproj | 9 +- src/libraries/tests.proj | 86 +++++++++---------- 3 files changed, 49 insertions(+), 48 deletions(-) diff --git a/src/libraries/System.Diagnostics.Debug/tests/System.Diagnostics.Debug.Tests.csproj b/src/libraries/System.Diagnostics.Debug/tests/System.Diagnostics.Debug.Tests.csproj index e842a465e60..b08220b972a 100644 --- a/src/libraries/System.Diagnostics.Debug/tests/System.Diagnostics.Debug.Tests.csproj +++ b/src/libraries/System.Diagnostics.Debug/tests/System.Diagnostics.Debug.Tests.csproj @@ -9,8 +9,10 @@ + + diff --git a/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj b/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj index 4eb560a6798..d052ccaa0b6 100644 --- a/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj +++ b/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj @@ -40,6 +40,13 @@ - + + + Content + PreserveNewest + + diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 0ebc23f231a..34011685315 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -401,12 +401,33 @@ - + + + + + + + + + + + + + + + + + + + + + + @@ -426,6 +447,23 @@ Condition="'$(TargetOS)' == 'linux'" /> + + + + + + + + + + + + + + + + @@ -523,53 +561,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- GitLab