-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] EnableAggressiveTrimming
causing failing tests - System.Diagnostics.Tests.ActivityTest
#46768
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsIn effort to run library tests with AOT compilation on CI #46633, there are a number of failures arising from #46651. Test suite
System_diagnostics_diagnosticsource_switches_fail.txt Repro: runtime/eng/testing/ILLink.Descriptor.xunit.xml Lines 15 to 20 in f7f5046
Modify
|
…ternalParent` throws `System.PlatformNotSupportedException : Cannot wait on monitors on this runtime.` Partially fixes dotnet#46768
Others I can reproduce with |
EnableAggressiveTrimming
causing failing tests - System.Diagnostics.Tests.ActivityTest
In effort to run library tests with AOT compilation on CI #46633, there are a number of failures arising from #46651.
Test suite
System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/System.Diagnostics.DiagnosticSource.Switches.Tests.csproj
fails withSystem_diagnostics_diagnosticsource_switches_fail.txt
Repro:
Check out changes in #46651
./build.sh -os Browser -arch wasm -c Release
Remove
runtime/eng/testing/ILLink.Descriptor.xunit.xml
Lines 15 to 20 in f7f5046
Modify
runtime/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.Unix.cs
Line 256 in 9538bee
./dotnet.sh build /t:Test /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=Release /p:EnableAggressiveTrimming=true /p:RunAOTCompilation=true src/libraries/System.Diagnostics.DiagnosticSource/tests/TestWithConfigSwitches/System.Diagnostics.DiagnosticSource.Switches.Tests.csproj
The text was updated successfully, but these errors were encountered: