Skip to content

[clr-ios] Run Apple-mobile Helix test legs with partial trimming #129567

Description

@kotlarmilos

Description

On aggressively-trimmed Apple-mobile Helix legs such as iossimulator-arm64 CoreCLR, reflection-heavy test projects get their dependencies stripped by the trimmer, so the host discovers zero test cases and XHarness reports the run as a crash with Tests run: 0 and APP_CRASH. To keep these legs green we keep adding projects to ProjectExclusions in src/libraries/tests.proj, for example Microsoft.Extensions.DependencyInjection.Tests and Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests, each trading CI stability for lost coverage.

Run the Apple-mobile library-test Helix legs without aggressive trimming, as was previously done on rolling builds, so reflection-heavy projects keep the metadata they need, we regain coverage over currently-excluded areas, and the legs become more stable. Once coverage is restored, re-enable the projects excluded purely due to trimming.

Related PR #129514

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions