Skip to content

[mono] Disabled runtime and library tests on Apple mobile #91923

@ivanpovazan

Description

@ivanpovazan

By enabling trimming when building libraries and functional tests for ios/tvos platforms, we would greatly speed up builds on CI, lower the costs and improve user experience. With trimming enabled the configuration is also closer to what an end user experiences when building ios/tvos applications.

However, as some tests assume trimming is not enabled (e.g.: System.Runtime.Tests test suite has 11 failures on ios-arm64 device when trimming is enabled) we should investigate how to root required assemblies/tests to prevent these failures.

Related issues:

Disabled library tests:

Microsoft.Extensions.Configuration.Binder.Tests.TraceSwitchTest
Microsoft.Extensions.Configuration.Binder.Tests.TestGraphWithUnsupportedMember
System.Reflection.Metadata.Decoding.Tests.SimpleSignatureProviderCoverage
System.Reflection.Tests.GetModuleVersionId_KnownAssembly_ReturnsExpected
System.Runtime.Tests.ShimsHaveOnlyTypeForwards

Disabled runtime tests:

Loader/classloader/DefaultInterfaceMethods/reabstraction
JIT/Directed/coverage/importer/Desktop/badldsfld
JIT/Regression/JitBlue/Runtime_74635/Runtime_74635_1
JIT/Methodical/tailcall/compat_i4_u
JIT/Methodical/Boxing/boxunbox/tailcall
JIT/Methodical/Boxing/boxunbox/huge_filter
JIT/Methodical/refany/gcreport
JIT/Directed/Arrays/nintindexoutofrange
JIT/Directed/debugging/poisoning/poison
JIT/Regression/JitBlue/Runtime_34587/Runtime_34587
JIT/Regression/JitBlue/Runtime_64125/Runtime_64125

Follow-up tasks:

  • Rerun the same state with trimming disabled, to discover trim-related issues (/azp rerun ios-platforms-no-trimming
  • Make disabled tests trim-compatible

Metadata

Metadata

Labels

area-Infrastructure-monodisabled-testThe test is disabled in source code against the issuein-prThere is an active PR which will close this issue when it is mergedos-iosApple iOStrackingThis issue is tracking the completion of other related issues.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions