From: Michal Strehovský Date: Wed, 7 Jun 2023 08:31:22 +0000 (+0900) Subject: Disable S.T.Json tests on NativeAOT (#87203) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~1796 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e34b5d4e9b16321f37c108fea3aa7e4e04b495a;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Disable S.T.Json tests on NativeAOT (#87203) We're getting OOM-killed in the CI. See #87078. I'm also changing how we do warning suppressions. We still need to suppress most of AOT warnings because xUnit/tests are not warning clean, but the warning about generic recursion is critical for the product and should fail the build. --- diff --git a/eng/testing/tests.singlefile.targets b/eng/testing/tests.singlefile.targets index 4db0bf2..4f4bcb4 100644 --- a/eng/testing/tests.singlefile.targets +++ b/eng/testing/tests.singlefile.targets @@ -29,10 +29,10 @@ $(CoreCLRAotSdkDir) $(NetCoreAppCurrentTestHostSharedFrameworkPath) $(NetCoreAppCurrentTestHostSharedFrameworkPath) - $(NoWarn);IL1005;IL2105;IL3000;IL3001;IL3002;IL3003 + $(NoWarn);IL1005;IL2105;IL3000;IL3001;IL3002;IL3003;IL3050;IL3051;IL3052;IL3053 partial true - true + false diff --git a/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj b/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj index f6e4a1b..da44852 100644 --- a/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj +++ b/src/libraries/Microsoft.Extensions.DependencyModel/tests/Microsoft.Extensions.DependencyModel.Tests.csproj @@ -6,6 +6,9 @@ $(DefaultItemExcludes);nonentrypointassembly\* true + + + $(NoWarn);IL3054 diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 82796c1..32854a8 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -412,6 +412,10 @@ + + + +