Disable iOS LibraryMode tests by design, drop tracking-issue reference - #131208
Disable iOS LibraryMode tests by design, drop tracking-issue reference#131208kotlarmilos with Copilot wants to merge 4 commits into
Conversation
|
Azure Pipelines: 16 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Co-authored-by: kotlarmilos <11523312+kotlarmilos@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Copilot's findings
Comments suppressed due to low confidence (1)
src/libraries/tests.proj:317
- The updated comment doesn't match the PR description (it omits both the explicit "excluded by design" rationale and the hint for running these tests locally). Consider updating the comment so the intent and local opt-in mechanism are clear and consistent with the PR narrative.
<!-- Library mode is not supported on Apple mobile -->
- Files reviewed: 1/1 changed files
- Comments generated: 0 new
| <ProjectExclusions Include="$(RepoRoot)/src/tests/FunctionalTests/iOS/Device/LibraryMode/iOS.Device.LibraryMode.Test.csproj" /> | ||
| <ProjectExclusions Include="$(RepoRoot)/src/tests/FunctionalTests/iOS/Simulator/LibraryMode/iOS.Simulator.LibraryMode.Test.csproj" /> |
There was a problem hiding this comment.
If LibraryMode is not supported and will not be supported, can we just delete the tests instead of carrying around always-disabled tests?
There was a problem hiding this comment.
Library mode for mobile is basically NativeAOT deployed as a shared library. I think it still has value for mobile targets, but I doubt we really need the functional tests.
There was a problem hiding this comment.
what prevents us from fixing the tests so they actually work?
There was a problem hiding this comment.
I agree that we should delete them instead of disabling
The
iOS.Device/Simulator.LibraryMode.Testprojects were excluded from Apple-mobile runs against a tracking issue that is now being closed. Per reviewer feedback, an exclusion should either be fixed, deleted, or marked "by design" without an ActiveIssue reference.Changes
src/libraries/tests.proj: Replaced the<!-- Tracking issue: ... -->comment above the twoLibraryModeProjectExclusionswith a by-design comment, matching the convention used by other permanent exclusions in this file (e.g.<!-- PNSE -->).Notes
RunDisablediOSTests=true.SlhDsaTestData.cs) is a coincidental hex substring in test-vector data.