mirror of https://github.com/acidanthera/audk.git
312ccaf81b
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4683 Update GetActiveFrameworkHandle() to remove ASSERT() and require caller to check for NULL. This allows GetActiveFrameworkHandle() to be used to determine if the current host-based test environment is framework/cmocka or gtest. In the framework/cmocka host-based environment GetActiveFrameworkHandle() returns non-NULL. In the gtest host-based environment GetActiveFrameworkHandle() returns NULL. 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> |
||
---|---|---|
.. | ||
Assert.c | ||
AssertCmocka.c | ||
Log.c | ||
RunTests.c | ||
RunTestsCmocka.c | ||
UnitTestLib.c | ||
UnitTestLib.inf | ||
UnitTestLib.uni | ||
UnitTestLibCmocka.inf | ||
UnitTestLibCmocka.uni |