Skip to content

release-v2024050000.1.4

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Nov 23:07
· 1 commit to refs/heads/release/202405 since this release

What's Changed

  • [Cherry-Pick] Declare mock SMM Access2 Protocol. (#1177) [RB \& FF] @apop5 (#1223)
    Change Details
      ## Description

    Declare mock SMM Access2 Protocol for google test.

    • Impacts functionality?
    • Impacts security?
    • Breaking change?
    • Includes tests?
    • Includes documentation?

    How This Was Tested

    Run the google test.

    Integration Instructions

    N/A

      </blockquote>
      <hr>
    </details>
    
  • [Cherry-Pick] BaseTools\HostbasedUnittestRunner: Add support to exclude files from codecoverage. [RB & FF] (#1222)
    Change Details
      ## Description

    When Unit tests are run, the generated report includes null libraries in the calculation.
    Modifying the organize_coverage to exclude null libraries from the code coverage results.
    These changes only effect the case when CC_REORGANIZE is set to true in the project.

    add CC_EXCLUDE option, which defaults to exclude files/libraries with Null in their name. Can be over-ridden by adding CC_EXCLUDE to comandline.

    • Impacts functionality?
    • Impacts security?
    • Breaking change?
    • Includes tests?
    • Includes documentation?
    • Backport to release branch?

    How This Was Tested

    Ran on private repo which contained a lot of NULL libraries. Prior to change, Null libraries were included in the report, after the modification, they were not

    Tested modifying CC_EXCLUDE on command line to verify that specific libraries/folders can be targeted by exclude statement.

    Integration Instructions

    No changes required.
    coverage report will look different if CC_REORGANIZE is set to True as NULL libraries will be excluded.
    to restore to original functionality, specify CC_EXCLUDE= on the command line.

      </blockquote>
      <hr>
    </details>
    

Full Changelog: v2024050000.1.3...v2024050000.1.4