-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Wasm][AOT] Assert.True() failure
#49246
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsIn effort to run library tests with AOT compilation and EnableAggressiveTrimming enabled on CI #48226 these errors are hit.
Repro:
|
Microsoft.Extensions.Configuration.Json is failing because the resource isn't getting loaded from the Satellite assembly. I haven't looked at the others yet but they are likely similar.
https://github.com/dotnet/runtime/search?q=Error_JSONParseError |
Which satellite assemblies? |
Closing this, as this predates the newer set of aot test issues that are tracked with |
In effort to run library tests with AOT compilation and EnableAggressiveTrimming enabled on CI #48226 these errors are hit.
Assert.True() Failure
Microsoft.Extensions.Configuration.Json.Tests
logCommon.Tests
logSystem.Xml.XmlSchemaSet.Tests
logMicrosoft.Extensions.Configuration.Ini.Tests
logMicrosoft.Extensions.Configuration.Xml.Tests
logMicrosoft.Extensions.FileProviders.Composite.Tests
logSystem.Diagnostics.StackTrace.Tests
logRepro:
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>
The text was updated successfully, but these errors were encountered: