<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/UnitTestFrameworkPkg/Test, 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-06T10:12:38+00:00</updated>
<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: 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>UnitTestFrameworkPkg/Test/GoogleTest/Sample: Add 0 tests</title>
<updated>2026-03-21T21:36:55+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2026-03-17T19:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7b6b0784a7935f9ae3728a527eda6544b9b6218d'/>
<id>urn:sha1:7b6b0784a7935f9ae3728a527eda6544b9b6218d</id>
<content type='text'>
Add tests that check a local variable against 0 for values
of type UINT8, UINT16, UINT32, UINT64, UINTN, UINT32 bitfields,
and UINT64 bitfields.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg: fix various typos</title>
<updated>2025-11-21T21:49:59+00:00</updated>
<author>
<name>Philipp Schuster</name>
<email>philipp.schuster@cyberus-technology.de</email>
</author>
<published>2025-11-11T13:12:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e8ee86d566ae121027ad83ee94ac9b639ae0a06b'/>
<id>urn:sha1:e8ee86d566ae121027ad83ee94ac9b639ae0a06b</id>
<content type='text'>
Signed-off-by: Philipp Schuster &lt;philipp.schuster@cyberus-technology.de&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg/SampleGoogleTest: Add missing override keyword</title>
<updated>2025-09-19T13:45:44+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2025-08-21T03:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0bc550f4660a6d3b2c818ae7a7150cf3767a6dbc'/>
<id>urn:sha1:0bc550f4660a6d3b2c818ae7a7150cf3767a6dbc</id>
<content type='text'>
Add missing override keyword to c++ classes. Found by the clang++
compiler.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>UnitTestFrameworkPkg/MemoryAllocationLibPosix: Add allocate below address</title>
<updated>2025-01-21T05:02:38+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2024-11-25T19:34:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e78fb8a366fcd39329f86ce5a095d88d9be8dcb6'/>
<id>urn:sha1:e78fb8a366fcd39329f86ce5a095d88d9be8dcb6</id>
<content type='text'>
Add HostMemoryAllocationBelowAddressLib class and implementation that
uses OS specific services to perform pool and page allocations below
a specified address in a host based unit test application execution
environment. This library class is only required for mocking buffers
that are assumed to be below a specific address by code under test.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
</feed>
