<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/BaseTools/Tests, branch dependabot/github_actions/github/codeql-action-4.39.3</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-10-31T02:12:04+00:00</updated>
<entry>
<title>BaseTools: Preserve quoted paths in workspace macro expansion</title>
<updated>2026-10-31T02:12:04+00:00</updated>
<author>
<name>Antaeus Kleinert-Strand</name>
<email>antklein@microsoft.com</email>
</author>
<published>2026-10-06T18:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=37b18eca7958215fcf81b297e313adf60c0a70cb'/>
<id>urn:sha1:37b18eca7958215fcf81b297e313adf60c0a70cb</id>
<content type='text'>
Whitespace-based tokenization breaks quoted paths containing spaces
and prevents correct package path resolution. It also collapses
whitespace between compiler options.

Resolve workspace macros while preserving quotes, option prefixes,
whitespace, and Windows backslashes. Prefer existing workspace paths,
then search package roots in order. Keep missing paths rooted in the
workspace instead of falling back to the last package root.

Add regression tests covering quoting, spaces, search precedence,
missing paths, and Windows-style paths. Register the tests alongside
the existing Python tools test suites.

Signed-off-by: Antaeus Kleinert-Strand &lt;antklein@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Rename workspace os alias and clean up imports</title>
<updated>2026-10-31T02:12:04+00:00</updated>
<author>
<name>Antaeus Kleinert-Strand</name>
<email>antklein@microsoft.com</email>
</author>
<published>2026-10-27T18:23:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=10ef465ee2d6d42803e60075399aafb4ec0fa9a2'/>
<id>urn:sha1:10ef465ee2d6d42803e60075399aafb4ec0fa9a2</id>
<content type='text'>
Rename the LongFilePathOs import alias from os to Os and update its
references without changing workspace behavior.

Remove unused os and sys imports from the Python test runner and
normalize blank lines in both files.

Signed-off-by: Antaeus Kleinert-Strand &lt;antklein@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: FMMT: Add replacement regression tests</title>
<updated>2026-10-22T01:36:43+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-09-17T04:08:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ef03ae623f254e4914e99df21220cb7a00c68f08'/>
<id>urn:sha1:ef03ae623f254e4914e99df21220cb7a00c68f08</id>
<content type='text'>
This change adds a few unit test cases to validate the FMMT tool.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/FMMT: Return non-zero exit status on failure</title>
<updated>2026-09-29T17:12:07+00:00</updated>
<author>
<name>Zhaoqi Xu</name>
<email>lzy00419@outlook.com</email>
</author>
<published>2026-08-31T08:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=53d441a7402aab3ecd02909ae1a0ae6a2e135332'/>
<id>urn:sha1:53d441a7402aab3ecd02909ae1a0ae6a2e135332</id>
<content type='text'>
FMMT catches exceptions from operations such as viewing a missing
input file, prints the error, and then returns status 0. Callers
and scripts treat that as success.

Set status to 1 in the exception handler so the process exit code
matches the failure.

A regression test covers FMMT -v not-a-file.

Signed-off-by: Zhaoqi Xu &lt;lzy00419@outlook.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Optimize parsing of byte-array PCD values</title>
<updated>2026-09-06T23:50:31+00:00</updated>
<author>
<name>kuqin12</name>
<email>42554914+kuqin12@users.noreply.github.com</email>
</author>
<published>2026-08-21T22:12:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4d55998e8b0a251b5124bdf240ddaad9921e6257'/>
<id>urn:sha1:4d55998e8b0a251b5124bdf240ddaad9921e6257</id>
<content type='text'>
This change adds a fast path for simple VOID* hexadecimal byte arrays,
avoiding the generic expression tokenizer's repeated processing of large
PCD values. Regression tests for both paths. It does not change the
existing parser for structured and symbolic expressions.

This reduces parsing time for a 28 KiB generated PCD from roughly 2
seconds to 50 milliseconds.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools: Make DSC arch macro expansion owner-aware</title>
<updated>2026-09-01T14:42:26+00:00</updated>
<author>
<name>Bob Chen (UST Global Singapore Pte Limited)</name>
<email>v-kuanlchen@microsoft.com</email>
</author>
<published>2026-08-25T14:08:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7b01c71a83e0bf6a89f5e803a4f60adc29c1f70f'/>
<id>urn:sha1:7b01c71a83e0bf6a89f5e803a4f60adc29c1f70f</id>
<content type='text'>
PR #12628 expanded architecture macros for every DSC record so
component-private records match their component. A positive raw owner can
also represent include provenance, so broad expansion changes records
outside component scope.

Expand architecture macros only for Component records and records whose
owner maps to a final Component. Reset the owner mapping whenever the
post-processed table is rebuilt to prevent stale ownership across
DoPostProcess calls.

Add regression coverage for component-private LibraryClasses and PCDs,
nested and private includes, multiple architectures, unresolved macros,
repeated sections, and repeated post-processing.

Signed-off-by: Bob Chen (UST Global Singapore Pte Limited) &lt;v-kuanlchen@microsoft.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/Tests: Update TC6 for backward-compatible rebase behavior</title>
<updated>2026-07-15T21:37:05+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-07-14T20:23:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ae023dbe9952cef22a108bf247605030d0c60b50'/>
<id>urn:sha1:ae023dbe9952cef22a108bf247605030d0c60b50</id>
<content type='text'>
Update the test decision matrix and TC6 expected result to reflect
the backward-compatible ForceRebase logic: when ForceRebase=TRUE and
no files have the ,XIP suffix (XipFileCount==0), all files are
rebased using the legacy behavior rather than skipping all files.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/Tests: Add FV section keyword order parser tests</title>
<updated>2026-06-22T15:18:12+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-05-19T20:07:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3a1cfddd9a12bcdbbbcd0ff98c87a8747d08e433'/>
<id>urn:sha1:3a1cfddd9a12bcdbbbcd0ff98c87a8747d08e433</id>
<content type='text'>
Add TestFdfParserFvKeywordOrder test class with 8 parameterized
subtests verifying that FV-level keywords (FvForceRebase,
FvBaseAddress, FvAlignment) can be freely interleaved with FV
attribute flags in any order within an [FV] section.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/Tests: Add PE32 section keyword order parser tests</title>
<updated>2026-06-22T15:18:12+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-05-19T19:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2a4022b6ae4652515aa215e00f856f899693a2a3'/>
<id>urn:sha1:2a4022b6ae4652515aa215e00f856f899693a2a3</id>
<content type='text'>
Add TestFdfParserPe32KeywordOrder test class with 17 parameterized
subtests covering all permutations of Align, Xip, and
RELOCS_STRIPPED/RELOCS_RETAINED keywords in PE32 section statements.
Tests verify pairwise orderings, all 6 three-keyword permutations,
single-keyword cases, and Xip=FALSE/RELOCS_RETAINED variants.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>BaseTools/Tests: Add unit and functional tests for XIP rebase</title>
<updated>2026-06-22T15:18:12+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-05-06T02:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=80bf0137c1ef00047769f3ea7b05f93ec9696b1c'/>
<id>urn:sha1:80bf0137c1ef00047769f3ea7b05f93ec9696b1c</id>
<content type='text'>
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 &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
</feed>
