Skip to content

[Feature]: Support host based unit test on ARM systems #495

@kuqin12

Description

@kuqin12

Feature Overview

Today's host based unit test is heavily based on x86 architecture. As more targets are for ARM/AARCH64 systems nowadays, there is more need for running host based unit tests on the same architecture as the targets for better test fidelity.

However, the current host based unit test framework mainly builds for x86 systems and would introduce build breaks if we want to compile host based unit tests for AARCH64. i.e. this structure does not exist on ARM systems: https://github.com/microsoft/mu_basecore/blob/3f022dad7ac0035cfe3ed49a12403a7314445383/MdePkg/Test/UnitTest/Include/Library/UnitTestHostBaseLib.h#L88C20-L88C20.

Solution Overview

Plum through the build break when building on host based unit on ARM system and start to deploy the existing host based unit tests to ARM builds (Windows and Linnux).

There might be further tuning for plugins to make the entire flow functional.

Alternatives Considered

No response

Urgency

Medium

Are you going to implement the feature request?

Someone else needs to implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Metadata

Metadata

Assignees

Labels

state:needs-triageNeeds to triaged to determine next stepsstate:staleHas not been updated in a long timetype:feature-requestA new feature proposalurgency:mediumImportant with a moderate impact

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions