-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
Milestone
Description
In effort to run library tests with AOT compilation on CI #46633, there are a number of failures arising from #46651.
Test suite System.Runtime.CompilerServices.Unsafe/tests/System.Runtime.CompilerServices.Unsafe.Tests.csproj fails with
info: JS exception: RuntimeError: unreachable
info: RuntimeError: unreachable
system_runtime_compilerservices_unsafe_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
| <!-- Temporary until https://github.com/mono/linker/issues/1713 is resolved --> | |
| <assembly fullname="Microsoft.DotNet.RemoteExecutor"> | |
| <type fullname="Microsoft.DotNet.RemoteExecutor.Program"> | |
| <method signature="System.Int32 Main(System.String[])" /> | |
| </type> | |
| </assembly> |
Modify
| catch (Exception e) when (IsIoRelatedException(e) && !disposing) |
catch
{
}
./dotnet.sh build /t:Test /p:TargetOS=Browser /p:TargetArchitecture=wasm /p:Configuration=Release /p:EnableAggressiveTrimming=true /p:RunAOTCompilation=true src/libraries/System.Runtime.CompilerServices.Unsafe/tests/System.Runtime.CompilerServices.Unsafe.Tests.csproj