REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2853
Update cmocka to a version that supports longer log messages. This update requires <stdint.h> to be included before <cmocka.h>. Cc: Jian J Wang <[email protected]> Cc: Liming Gao <[email protected]> Signed-off-by: Michael D Kinney <[email protected]> --- .../DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTest.c | 1 + MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.c | 1 + .../RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.c | 1 + 3 files changed, 3 insertions(+) diff --git a/MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTest.c b/MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTest.c index c286f57c854f..ed0b1602c724 100644 --- a/MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTest.c +++ b/MdeModulePkg/Library/DxeResetSystemLib/UnitTest/DxeResetSystemLibUnitTest.c @@ -10,6 +10,7 @@ #include <string.h> #include <stdarg.h> #include <stddef.h> +#include <stdint.h> #include <setjmp.h> #include <cmocka.h> diff --git a/MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.c b/MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.c index 3d15167f9a47..2de9814fbd2c 100644 --- a/MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.c +++ b/MdeModulePkg/Library/UefiSortLib/UnitTest/UefiSortLibUnitTest.c @@ -10,6 +10,7 @@ #include <string.h> #include <stdarg.h> #include <stddef.h> +#include <stdint.h> #include <setjmp.h> #include <cmocka.h> diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.c index b2bcb97932ba..a584fbb226dc 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/RuntimeDxeUnitTest/VariableLockRequestToLockUnitTest.c @@ -10,6 +10,7 @@ #include <string.h> #include <stdarg.h> #include <stddef.h> +#include <stdint.h> #include <setjmp.h> #include <cmocka.h> -- 2.32.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86531): https://edk2.groups.io/g/devel/message/86531 Mute This Topic: https://groups.io/mt/89037999/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
