Skip to content

[tests] Add an AppSizeTest variation for CoreCLR, both with and without R2R.#24390

Merged
rolfbjarne merged 1 commit intonet11.0from
dev/rolf/appsizetest-coreclr
Dec 12, 2025
Merged

[tests] Add an AppSizeTest variation for CoreCLR, both with and without R2R.#24390
rolfbjarne merged 1 commit intonet11.0from
dev/rolf/appsizetest-coreclr

Conversation

@rolfbjarne
Copy link
Member

No description provided.

@rolfbjarne rolfbjarne requested a review from Copilot December 9, 2025 10:00
@rolfbjarne

This comment was marked as outdated.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds CoreCLR runtime test variations to the AppSizeTest suite for iOS, alongside updates to existing test configurations to be more explicit about runtime selection.

Key changes:

  • Adds two new test methods for CoreCLR: CoreCLR_Interpreter (enabled) and CoreCLR_R2R (ignored, pending implementation)
  • Updates existing runtime tests to explicitly set the UseMonoRuntime MSBuild property for clarity
  • Adds baseline expected output files for CoreCLR-Interpreter configuration showing significantly larger app size (~221 MB vs ~3.6 MB for NativeAOT)

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/dotnet/UnitTests/AppSizeTest.cs Adds CoreCLR test methods and makes runtime selection explicit in all test configurations
tests/dotnet/UnitTests/expected/iOS-CoreCLR-Interpreter-size.txt Baseline app size and file listing for CoreCLR interpreter mode
tests/dotnet/UnitTests/expected/iOS-NativeAOT-size.txt Updated baseline reflecting reduced NativeAOT app size

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne force-pushed the dev/rolf/appsizetest-coreclr branch from e761f40 to 575c716 Compare December 11, 2025 14:43
@rolfbjarne rolfbjarne marked this pull request as ready for review December 11, 2025 14:44
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne enabled auto-merge (squash) December 11, 2025 14:46
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #575c716] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build #575c716] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #575c716] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #575c716] Tests on macOS X64 - Mac Sonoma (14) passed 💻

All tests on macOS X64 - Mac Sonoma (14) passed.

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #575c716] Tests on macOS arm64 - Mac Sequoia (15) passed 💻

All tests on macOS arm64 - Mac Sequoia (15) passed.

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #575c716] Tests on macOS M1 - Mac Ventura (13) passed 💻

All tests on macOS M1 - Mac Ventura (13) passed.

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #575c716] Tests on macOS M1 - Mac Monterey (12) passed 💻

All tests on macOS M1 - Mac Monterey (12) passed.

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #575c716] Tests on macOS arm64 - Mac Tahoe (26) passed 💻

All tests on macOS arm64 - Mac Tahoe (26) passed.

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🚀 [CI Build #575c716] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 133 tests passed 🎉

Tests counts

✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 9 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 13 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 12 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (tvOS): All 13 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: 575c7163eeed16c3662815ae480fb9bf2864c1db [PR build]

@rolfbjarne rolfbjarne merged commit c41c612 into net11.0 Dec 12, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants