-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[clr-ios] Add R2R and interpreter functional tests on iOS #122036
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 two smoke functional tests for iOS CoreCLR: one for Ready-to-Run (R2R) and one for the interpreter. The changes include creating new test project files, a shared test program, and consolidating R2R configuration properties to make them reusable across Apple platform builds.
Key changes:
- New R2R and interpreter test projects in
src/tests/FunctionalTests/iOS/Device/CoreCLR/ - Consolidation of R2R properties (
PublishReadyToRunCompositeandPublishReadyToRunContainerFormat) frommono/sample/iOS/Program.csprojtoAppleBuild.propsfor reusability - Updated test project paths in
tests.projfrom Simulator to Device directory
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| iOS.Simulator.CoreCLR.R2R.csproj | New R2R test project with PublishReadyToRun enabled and proper CrossGen2 imports |
| iOS.Simulator.CoreCLR.Interpreter.Test.csproj | Modified interpreter test project with environment variable removed |
| Program.cs | New simple smoke test program that returns exit code 42 |
| mono/sample/iOS/Program.csproj | R2R properties moved to AppleBuild.props for better reusability |
| AppleBuild.props | Added centralized R2R properties for CoreCLR on Apple platforms |
| tests.proj | Updated test paths from Simulator/CoreCLR.Interpreter to Device/CoreCLR |
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Description
This PR adds two smoke functional tests - one for R2R and one for the interpreter.