Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 7b6b0784a7935f9ae3728a527eda6544b9b6218d
https://github.com/tianocore/edk2/commit/7b6b0784a7935f9ae3728a527eda6544b9b6218d
Author: Michael D Kinney <[email protected]>
Date: 2026-03-21 (Sat, 21 Mar 2026)
Changed paths:
M
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTest.cpp
Log Message:
-----------
UnitTestFrameworkPkg/Test/GoogleTest/Sample: Add 0 tests
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 <[email protected]>
Commit: 97aa85de722d2a2dab708d6a854379faddead74c
https://github.com/tianocore/edk2/commit/97aa85de722d2a2dab708d6a854379faddead74c
Author: Michael D Kinney <[email protected]>
Date: 2026-03-21 (Sat, 21 Mar 2026)
Changed paths:
M UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
Log Message:
-----------
UnitTestFrameworkPkg: Align C++ sign compare
GCC enables -Wsign-compare by default but CLANG does
not enable -Wsign-compare by default. This causes
GCC unit test builds to fail with a signed/unsigned
mismatch when using EXPECT_EQ(), ASSERT_EQ(),
EXPECT_NE() or ASSERT_NE() with one of the items
being compared being literal 0. However, CLANG does
not fail for these builds.
Add -Wsign-compare to CXX_FLAGS for CLANGDWARF and
CLANGPDB to align CLANG error checking with GCC.
Add /w44388 and /w44389 to MSFT family compiler
CXX_FLAGS to align VS20xx error checking with GCC.
Signed-off-by: Michael D Kinney <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/4018823b6399...97aa85de722d
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits