<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/UnitTestFrameworkPkg, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-18T19:59:03+00:00</updated>
<entry>
<title>UnitTestFrameworkPkg/TimerLibPosix: Enable 64-bit time_t for IA32 builds</title>
<updated>2026-09-18T19:59:03+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-09-12T22:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6abc1c06585ffd66d23a74811a930d8d0f88cef7'/>
<id>urn:sha1:6abc1c06585ffd66d23a74811a930d8d0f88cef7</id>
<content type='text'>
On 32-bit architectures (IA32), standard C library headers may default
to 32-bit time_t and file offsets.

Define _FILE_OFFSET_BITS=64 and _TIME_BITS=64 under [BuildOptions]
for IA32 builds in TimerLibPosix.inf to use 64-bit time_t and struct
timespec.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: TimerLibPosix: Add TimerLib for host-based unit test</title>
<updated>2026-09-06T10:12:38+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-07-27T19:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=00987c101584c0eaa1a051b8c8acaf59bdd8c4cd'/>
<id>urn:sha1:00987c101584c0eaa1a051b8c8acaf59bdd8c4cd</id>
<content type='text'>
This change introduces an instance of TimerLib based on the host's
standard C library to provide a free running performance counter and
calibrated delays for host-based unit tests.

This change paves way to support other host based tests that depends on
the availability of this interface.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: Test: Adding AArch64 target</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-01-20T21:52:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8cdd6f77b7b4cb059630ecfe502d6b7e6d56fbdc'/>
<id>urn:sha1:8cdd6f77b7b4cb059630ecfe502d6b7e6d56fbdc</id>
<content type='text'>
This change adds the AArch64 target for host based unit tests.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: FunctionMockLib: Do not support AArch64</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-03-31T17:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=56e1e042025707c48715186e50efba4d6b7613b9'/>
<id>urn:sha1:56e1e042025707c48715186e50efba4d6b7613b9</id>
<content type='text'>
Current FunctionMockLib is relying on the subhoob module to support the
backend operation by bitbanging the binary post-disassembly.

However subhook module is a x64 centric module and does not support
AArch64 usage.

This change removes the mock function support for AArch64. The
functionality will need other solutions to be properly supported.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: UnitTestDebugAssertLib: GCC support for AArch64</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-01-20T21:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=26800658dfd24cedde5eacf33a3997087cd5928c'/>
<id>urn:sha1:26800658dfd24cedde5eacf33a3997087cd5928c</id>
<content type='text'>
This change adds the GCC compiler flag for AArch64 targets.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: CmockaLib: Support float operations</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-01-27T20:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=476c89e564c89ecd0da9b2a41c612e7377ce6660'/>
<id>urn:sha1:476c89e564c89ecd0da9b2a41c612e7377ce6660</id>
<content type='text'>
This change adds the support of float operations for AArch64 host based
unit tests by overriding the compiler flags.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: SampleUnitTestGenerateException: Fix for AArch64</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-07-16T20:55:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=4d024b0cde7527e6b0fbb363881c2c1aa751b23b'/>
<id>urn:sha1:4d024b0cde7527e6b0fbb363881c2c1aa751b23b</id>
<content type='text'>
AArch64 does not generate divide-by-zero exceptions like x86. Yet the
current generate exception test is using this operation to attempt
triggering exceptions.

This change abstracted the exception generation logic into per-arch
files and use undefined instruction to trigger AArch64 exceptions.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: SampleGoogleTestGenerateException: Support AArch64</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-05-11T20:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d47954ceb47592b8f6dc24d21c4e422e1df3485b'/>
<id>urn:sha1:d47954ceb47592b8f6dc24d21c4e422e1df3485b</id>
<content type='text'>
The SampleGoogleTestGenerateException GoogleTest sample previously
generated a CPU exception by performing an integer divide by zero. That
mechanism is X86-specific: the AArch64 architecture defines SDIV/UDIV by
zero to return zero rather than raising a synchronous abort, so the
sample produced no exception when built and run on AArch64 hosts and the
test failed due to the test assert instead of triggering an exception
through the framework.

This change replaces the divide-by-zero with a NULL pointer write
performed through a small volatile helper, which is expected to work on
all host systems.

The MSVC '/wd4723' build option is no longer needed because it was added
to silence the divide-by-zero compile-time warning.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: SampleGoogleTest: No divide-by-zero test for AArch64</title>
<updated>2026-07-31T15:16:47+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2026-01-20T21:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1fa1a89382cc6978a22d1aed0420ae12bd4f60c3'/>
<id>urn:sha1:1fa1a89382cc6978a22d1aed0420ae12bd4f60c3</id>
<content type='text'>
AArch64 does not have divide-by-zero exception.

This change modifies the corresponding test to work with AArch64.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>Global: Set MarkdownLintCheck plugin to AuditOnly</title>
<updated>2026-07-29T12:32:09+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2026-07-22T00:42:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=df9111c2d381546ff23cdf327546ad49f51ce779'/>
<id>urn:sha1:df9111c2d381546ff23cdf327546ad49f51ce779</id>
<content type='text'>
In preparation for the MarkdownLintCheck plugin being added to the
repo, this change defaults the plugin to `AuditOnly` mode in each
package. This allows package maintainers to enable the plugin as they
see fit.

Continuous-integration-options: PatchCheck.ignore-multi-package
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
</feed>
