From 13737d2d4141d78faa0712ce8ec7d018523ca3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Tue, 11 Jun 2024 19:48:04 +0900 Subject: [PATCH] Disable newly added System.Resources.Extensions tests with native AOT (#103269) Native AOT outerloop testing is on the floor due to build breaks: Build break 1: ``` The published project has a runtimeconfig.template.json that is not supported by PublishAot. Move the configuration to the project file using RuntimeHostConfigurationOption. ``` Build break 2 (this is a warning, but WarnAsError makes this more severe): ``` AOT analysis error IL3054: FluentAssertions.Equivalency.EquivalencyAssertionOptions`1>>>>: Generic expansion to 'FluentAssertions.Equivalency.EquivalencyAssertionOptions`1>>>>>' was aborted due to generic recursion. An exception will be thrown at runtime if this codepath is ever reached. Generic recursion also negatively affects compilation speed and the size of the compilation output. It is advisable to remove the source of the generic recursion by restructuring the program around the source of recursion. The source of generic recursion might include: 'FluentAssertions.Equivalency.EquivalencyAssertionOptions`1', 'FluentAssertions.Equivalency.NestedExclusionOptionBuilder`2' ``` --- src/libraries/tests.proj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 8b20609971559e..6904be09f6d88b 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -506,6 +506,8 @@ + +