Skip to content

[tests] Restore generated trampoline cases. Fixes #22296 - #27272

Open
rolfbjarne wants to merge 1 commit into
mainfrom
dev/rolf/restore-trampoline-cases
Open

rolfbjarne wants to merge 1 commit into
mainfrom
dev/rolf/restore-trampoline-cases

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

Re-enable the 13 struct layouts disabled because they triggered the Mono AOT compiler assertion tracked in dotnet/runtime#112850. These cover larger byte and short structs as well as mixed float/double layouts.

MonoVM build and test paths have been removed, so the outstanding Mono-specific compiler issue no longer blocks this coverage. Restore the existing layouts and stret masks and remove the obsolete workaround comment.

Fixes #22296

🤖 Pull request created by Copilot

Re-enable the 13 struct layouts disabled because they triggered the Mono AOT compiler assertion tracked in dotnet/runtime#112850. These cover larger byte and short structs as well as mixed float/double layouts.

MonoVM build and test paths have been removed, so the outstanding Mono-specific compiler issue no longer blocks this coverage. Restore the existing layouts and stret masks and remove the obsolete workaround comment.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 11:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the change restoring generated trampoline test coverage.

No open issues 🎉

What changed in this PR

Restores generated trampoline test coverage previously disabled for a Mono AOT compiler assertion, following removal of the MonoVM build and test paths. This addresses #22296.

Changes:

  • Re-enables 13 struct layouts covering larger byte and short structs and mixed float/double layouts.
  • Preserves the existing structure-return masks.
  • Removes the obsolete workaround comment.
File Description
tests/​test-libraries/​testgenerator.cs Restores disabled struct layouts and removes the Mono AOT workaround comment.

Review effort: Balanced

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [PR Build #2b01646] Build failed (Build macOS tests) 🔥

Build failed for the job 'Build macOS tests' (with job status 'Failed')

Pipeline on Agent
Hash: 2b01646283783c76ffafd33b098f251d5b3f25fe [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
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: 2b01646283783c76ffafd33b098f251d5b3f25fe [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [CI Build #2b01646] Test results 🔥

Test results

❌ Tests failed on VSTS: test results

4 tests crashed, 0 tests failed, 197 tests passed.

Failures

❌ Tests on macOS Sonoma (14) tests

⚠️ Tests did not run because the Build macOS tests job failed.

Html Report (VSDrops) Download

❌ Tests on macOS Sequoia (15) tests

⚠️ Tests did not run because the Build macOS tests job failed.

Html Report (VSDrops) Download

❌ Tests on macOS Tahoe (26) tests

⚠️ Tests did not run because the Build macOS tests job failed.

Html Report (VSDrops) Download

❌ Tests on macOS Golden Gate (27) tests

⚠️ Tests did not run because the Build macOS tests job failed.

Html Report (VSDrops) Download

Successes

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ 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 1 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 4 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 21 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 20 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 20 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 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

macOS tests

Linux Build Verification

✅ Linux build succeeded

Pipeline on Agent
Hash: 2b01646283783c76ffafd33b098f251d5b3f25fe [PR build]

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add additional generated trampoline test cases once dotnet/runtime#112850 is fixed

3 participants