audk/UnitTestFrameworkPkg/Include/Library
Michael D Kinney 81b69f306f UnitTestFrameworkPkg: Expand host-based exception handling and gcov
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4683

Update MSFT CC_FLAGS for host-based unit tests to use /EHs
instead of /EHsc to support building C functions with SEH
(Structured Exception Handling) enabled.  This is required to
build UnitTestDebugAssertLibHost.inf.

Update GCC CC_FLAGS for host-based unit tests to use -fexceptions
to support catching exceptions.

Update GoogleTestLib.h to include Throws() APIs that enable
unit tests to use EXPECT_THAT() to check for expected ASSERT()
conditions for a specific ASSERT() expression.

Update GCC CC_FLAGS to add --coverage for host-based builds
for all GCC tool chains.

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>
2024-02-14 02:37:16 +00:00
..
FunctionMockLib.h UnitTestFrameworkPkg: Add gmock support to GoogleTestLib 2023-04-10 05:59:02 +00:00
GoogleTestLib.h UnitTestFrameworkPkg: Expand host-based exception handling and gcov 2024-02-14 02:37:16 +00:00
SubhookLib.h UnitTestFrameworkPkg: Add subhook submodule required for gmock 2023-04-10 05:59:02 +00:00
UnitTestPersistenceLib.h UnitTestFrameworkPkg: Modify APIs in UnitTestPersistenceLib 2022-12-14 13:34:33 +00:00