diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2024-02-05 14:59:42 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-14 02:37:16 +0000 |
commit | 2d144d7e147beddbba85cd04bd2093b544e5cf0a (patch) | |
tree | c2b7b82c8efb95441d3da6e224888f187930b426 /UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc | |
parent | 312ccaf81b6343c9bcee1f8992086075353abeca (diff) | |
download | edk2-2d144d7e147beddbba85cd04bd2093b544e5cf0a.tar.gz edk2-2d144d7e147beddbba85cd04bd2093b544e5cf0a.tar.bz2 edk2-2d144d7e147beddbba85cd04bd2093b544e5cf0a.zip |
UnitTestFrameworkPkg/UnitTestDebugAssertLib: Add GoogleTest support
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4683
Add an C++ implementation of UnitTestDebugAssert() API for
host-based environments. GoogleTest based environments throw
a C++ exception of type std::runtime_error when an ASSERT() is
triggered with a description that contains the filename, line
number, and the expression that triggered the ASSERT().
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc')
-rw-r--r-- | UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc b/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc index dbb429faae..b1b8eb0fe5 100644 --- a/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc +++ b/UnitTestFrameworkPkg/Test/UnitTestFrameworkPkgHostTest.dsc @@ -38,3 +38,4 @@ UnitTestFrameworkPkg/Library/Posix/MemoryAllocationLibPosix/MemoryAllocationLibPosix.inf
UnitTestFrameworkPkg/Library/SubhookLib/SubhookLib.inf
UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLibCmocka.inf
+ UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLibHost.inf
|