Skip to content
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

.pytool/ImageValidation: Print invalid dir paths #1142

Conversation

makubacki
Copy link
Member

@makubacki makubacki commented Sep 18, 2024

Description

  • Print directory paths considered invalid to aid debugging

  • Build native OS file paths using os.path.join for walk dirs

  • Clean up trailing whitespace throughout the file

  • Impacts functionality?

  • Impacts security?

  • Breaking change?

  • Includes tests?

  • Includes documentation?

How This Was Tested

  • Local build with the plugin
  • Tested invalid directory printing by adding an invalid arch
    to TARGET_ARCH (so the directory doesn't exist in build output).

Integration Instructions

N/A - Minor tweaks

- Print directory paths considered invalid to aid debugging
- Built native OS filepaths using os.path.join for walk dirs
- Clean up trailing whitespace throughout the file

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@makubacki makubacki self-assigned this Sep 18, 2024
@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Sep 18, 2024
@makubacki makubacki changed the base branch from release/202405 to dev/202405 September 18, 2024 01:09
@codecov-commenter
Copy link

codecov-commenter commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 1.59%. Comparing base (e37976a) to head (2a656fe).

Additional details and impacted files
@@             Coverage Diff             @@
##           dev/202405    #1142   +/-   ##
===========================================
  Coverage        1.59%    1.59%           
===========================================
  Files            1448     1448           
  Lines          362490   362490           
  Branches         5632     5632           
===========================================
  Hits             5776     5776           
  Misses         356607   356607           
  Partials          107      107           
Flag Coverage Δ
MdeModulePkg 0.68% <ø> (ø)
MdePkg 5.42% <ø> (ø)
NetworkPkg 0.55% <ø> (ø)
PolicyServicePkg 30.41% <ø> (ø)
UefiCpuPkg 4.73% <ø> (ø)

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.

@makubacki makubacki merged commit 66f3d70 into microsoft:dev/202405 Sep 18, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:non-functional Does not have a functional impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants