Skip to content

Fix missing UefiLib dependency in MfciPolicyParsingUnitTestApp#887

Merged
makubacki merged 1 commit into
microsoft:release/202511from
GiriMohanNaidu:p/v-gimoha/UefiLib
May 12, 2026
Merged

Fix missing UefiLib dependency in MfciPolicyParsingUnitTestApp#887
makubacki merged 1 commit into
microsoft:release/202511from
GiriMohanNaidu:p/v-gimoha/UefiLib

Conversation

@GiriMohanNaidu
Copy link
Copy Markdown
Contributor

@GiriMohanNaidu GiriMohanNaidu commented May 11, 2026

Description

Added the missing UefiLib library class dependency to MfciPolicyParsingUnitTestApp.inf. The module uses UefiLib APIs but did not declare the dependency in its [LibraryClasses] section, causing build failures when the library was not implicitly pulled in by the platform DSC.
The module uses AsciiPrint() from UefiLib but did not declare the dependency in its LibraryClasses section.

  • Impacts functionality? No — build fix only; no logic changes.
  • Impacts security?
  • Breaking change?
  • Includes tests? N/A — fixes the test app itself so it builds correctly.
  • Includes documentation?

How This Was Tested

Built MfciPkg/UnitTests/MfciPolicyParsingUnitTest/MfciPolicyParsingUnitTestApp.inf and confirmed the build completes without missing library errors.

Integration Instructions

N/A — consumers of MfciPkg do not need any changes; this only affects the unit test app build.

@mu-automation
Copy link
Copy Markdown
Contributor

mu-automation Bot commented May 11, 2026

⏩ QEMU Validation Skipped

The PR was merged before validation completed.

This comment was automatically generated by the Mu QEMU PR Validation workflow.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/202511@24954e4). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/202511     #887   +/-   ##
=================================================
  Coverage                  ?   34.00%           
=================================================
  Files                     ?       17           
  Lines                     ?     1876           
  Branches                  ?      528           
=================================================
  Hits                      ?      638           
  Misses                    ?     1225           
  Partials                  ?       13           
Flag Coverage Δ
MfciPkg 34.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@makubacki
Copy link
Copy Markdown
Member

@GiriMohanNaidu, for completeness, can you please identify what is used from UefiLib in the PR description?

@makubacki makubacki force-pushed the p/v-gimoha/UefiLib branch from 3831422 to a149bb7 Compare May 12, 2026 18:19
@makubacki
Copy link
Copy Markdown
Member

@GiriMohanNaidu, for completeness, can you please identify what is used from UefiLib in the PR description?

Thanks for the update.

@makubacki makubacki enabled auto-merge (squash) May 12, 2026 18:20
@makubacki makubacki merged commit 3e0556b into microsoft:release/202511 May 12, 2026
30 checks passed
@GiriMohanNaidu GiriMohanNaidu deleted the p/v-gimoha/UefiLib branch May 12, 2026 19:33
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.

4 participants