summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-05-06 05:54:55 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-06-22 18:18:12 +0300
commit80bf0137c1ef00047769f3ea7b05f93ec9696b1c (patch)
tree0d298cdc936a5c8ab11abdef0502e67601c21301 /BaseTools/Source/Python/Workspace/MetaFileParser.py
parent3ee3b60eb82d52e159641b89d66bcc91a40b84ce (diff)
downloadedk2-80bf0137c1ef00047769f3ea7b05f93ec9696b1c.tar.xz
BaseTools/Tests: Add unit and functional tests for XIP rebase
Add TestGenFvXip.py with 19 parameterized subtests covering the complete XIP rebase decision matrix: - 11 unit subtests validating DetermineXipEnabled() with RuleComplexFile and RuleSimpleFile objects covering Xip attribute parsing (TRUE/FALSE/None, case insensitive, boolean vs string). - 8 functional subtests that run real edk2 builds with generated DSC/FDF files exercising all ForceRebase/BaseAddress/Xip combinations. Each test verifies: 1. FV INF file contains correct ,XIP suffixes 2. FV map file shows correct rebase status (Fixed Flash Address) 3. PE/COFF ImageBase in the FV binary matches expected value Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions