-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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.ValueTuple/tests/System.ValueTuple.Tests.csproj fails with
info: JS exception: RuntimeError: function signature mismatch
info: RuntimeError: function signature mismatch
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
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.ValueTuple/tests/System.ValueTuple.Tests.csproj