Skip to content

Conversation

@grendello
Copy link
Contributor

@grendello grendello commented Nov 7, 2025

NOTE: should be merged after #10573 since it cherry-picked some stuff from it

@grendello grendello force-pushed the dev/grendel/test-runtimes-2 branch 2 times, most recently from a02f56e to 8d64c27 Compare November 12, 2025 11:10
@grendello
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@grendello grendello marked this pull request as ready for review November 13, 2025 13:12
@grendello grendello requested a review from Copilot November 13, 2025 13:12
Copilot finished reviewing on behalf of grendello November 13, 2025 13:14
Copy link

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 extends test coverage by enabling numerous build tests to run on all three Android runtimes: MonoVM, CoreCLR, and NativeAOT. This is part 2 of enabling broader runtime test coverage.

Key changes:

  • Added runtime parameterization to 30+ test methods in BuildTest2.cs
  • Introduced IgnoreUnsupportedConfiguration helper to skip invalid runtime/configuration combinations
  • Added new overloads of SetRuntime to properly configure NativeAOT for application projects
  • Added baseline .apkdesc files for NativeAOT test validation

Reviewed Changes

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

Show a summary per file
File Description
BuildReleaseArm64XFormsDotNet.NativeAOT.apkdesc New baseline file for NativeAOT XForms release builds on ARM64
BuildReleaseArm64XFormsDotNet.MonoVM.apkdesc Updated baseline with new assembly sizes for MonoVM
BuildReleaseArm64SimpleDotNet.NativeAOT.apkdesc New baseline file for NativeAOT simple app release builds on ARM64
BuildReleaseArm64SimpleDotNet.MonoVM.apkdesc Updated baseline with new assembly sizes for MonoVM
ProjectExtensions.cs Added SetRuntime overloads to properly handle NativeAOT for application projects; refactored runtime configuration logic
BaseTest.cs Added IgnoreUnsupportedConfiguration helper to skip invalid test configurations based on runtime constraints
BuildTest2.cs Parameterized 30+ tests to run on all runtimes; added runtime-specific assertions and skip logic; consolidated test data generation; fixed typo "receieve" → "receive"

@grendello
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@grendello
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@grendello
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

NativeAOT broken because it doesn't properly quote arguments when
calling `clang`
@grendello grendello force-pushed the dev/grendel/test-runtimes-2 branch from 7b58c68 to ce920dc Compare November 17, 2025 16:28
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.

2 participants