Skip to content

.pytool: HostUnitTestCompilerPlugin: support single module build#12309

Open
Javagedes wants to merge 1 commit intotianocore:masterfrom
Javagedes:personal/joeyvagedes/unit-test-runner
Open

.pytool: HostUnitTestCompilerPlugin: support single module build#12309
Javagedes wants to merge 1 commit intotianocore:masterfrom
Javagedes:personal/joeyvagedes/unit-test-runner

Conversation

@Javagedes
Copy link
Contributor

Description

This commit updates the HostUnitTestCompilerPlugin to support building and running a single host based unit test utilizing the BUILDMODULE command line argument. Prior to this change, one could use the BUILDMODULE command line argument to only build a host based unit test, however the test would not be executed.

After this change, A developer can specify BUILDMODULE to build a specific host based unit test and run it with a single command.

  • Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

CI continues to pass, and local usage of command line interface works as expected.

Integration Instructions

N/A

This commit updates the HostUnitTestCompilerPlugin to support building
and running a single host based unit test utilizing the `BUILDMODULE`
command line argument. Prior to this change, one could use the
`BUILDMODULE` command line argument to only build a host based unit
test, however the test would not be executed.

After this change, A developer can specify `BUILDMODULE` to build a
specific host based unit test and run it with a single command.

Signed-off-by: Joey Vagedes <joey.vagedes@gmail.com>
@Javagedes Javagedes force-pushed the personal/joeyvagedes/unit-test-runner branch from 2d0bf80 to 3c3993f Compare March 23, 2026 17:34
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