Repository navigation
Disabled runtime and library tests on Apple mobile #91923
Copy link
Copy link
Labels
area-Infrastructuredisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issuein-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedos-iosApple iOSApple iOStrackingThis issue is tracking the completion of other related issues.This issue is tracking the completion of other related issues.
Milestone
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-Infrastructuredisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issuein-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedos-iosApple iOSApple iOStrackingThis issue is tracking the completion of other related issues.This issue is tracking the completion of other related issues.
Type
Projects
- StatusShow more project fieldsNo status
Activity
[-][mono] Investigate enabling trimming when building libraries and functional tests on ios/tvos platforms[/-][+][mono] Update tests to be trim-compatible on ios/tvos platforms[/+]ivanpovazan commentedon Jul 29, 2024
@kotlarmilos why did we reopen this issue?
10 remaining items
[-][mono] Update tests to be trim-compatible on ios/tvos platforms[/-][+][mono] Disabled runtime and library tests on Apple mobile[/+]Fix all remaining build issues: Richards.cs, badldsfld, and TestLibra…
Add second ActiveIssue attribute to badldsfld.il for IsAppleMobile
[-][mono] Disabled runtime and library tests on Apple mobile[/-][+]Disabled runtime and library tests on Apple mobile[/+]jkotas commentedon Jun 19, 2026
The tests are still disabled with this ActiveIssue
dotnet-policy-service commentedon Jun 19, 2026
Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.