Skip to content

Conversation

@davidwrighton
Copy link
Member

Modify nopiatest to not run its varargs component if the test is targetting a platform which doesn't support varargs

…etting a platform which doesn't support varargs
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 28, 2025
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 platform detection to skip vararg tests (Test9 and Test10) on platforms that don't support varargs in the NoPIA type equivalence test suite.

Key Changes

  • Added TestLibrary reference to the project for accessing PlatformDetection
  • Added conditional execution logic to skip Test9 and Test10 when varargs are not supported
  • Updated branch instructions from short form (br.s) to regular form (br) to accommodate longer jump distances

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
nopiatestil.ilproj Added TestLibrary project reference for platform detection
nopiatestil.il Added assembly reference, conditional test execution for vararg tests, and updated branch instructions for correct jump distances

@davidwrighton
Copy link
Member Author

/ba-g The Windows Arm64 helix queue is known to be broken

@davidwrighton davidwrighton merged commit d9df086 into dotnet:main Oct 31, 2025
79 of 82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants