-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
In effort to run library tests with AOT compilation and EnableAggressiveTrimming enabled on CI #48226 these errors are hit.
-
Assertion at /__w/1/s/src/mono/mono/metadata/class-init.c:2746, condition '<disabled>' not met
Microsoft.VisualBasic.Core.Tests
System.Reflection.Context.Tests
System.Runtime.Loader.Tests -
Assertion at /__w/1/s/src/mono/mono/mini/mini-generic-sharing.c:2168, condition '<disabled>' not met
System.Private.Runtime.InteropServices.JavaScript.Tests
System.Runtime.Serialization.Json.ReflectionOnly.Tests
System.Runtime.Serialization.Xml.ReflectionOnly.Tests
System.Xml.XmlSerializer.Tests -
Assertion at /__w/1/s/src/mono/mono/mini/mini-exceptions.c:3965, condition '<disabled>' not met
System.Xml.Linq.xNodeBuilder.Tests
Repro:
Check out changes in
4f17c4e without this, many tests are not discovered.
4e7ab85 this one helps avoid some AOT compilation errors with this exception filter. There shouldn't be exception filter issues anymore.
./build.sh -os Browser -arch wasm -c Release
./dotnet.sh build /t:Test /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=Release /p:EnableAggressiveTrimming=true /p:RunAOTCompilation=true src/libraries/<path-to-test-proj>