Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 2ee050d1d5bdc071f01ae66ce886c35ebf36b27e
https://github.com/tianocore/edk2/commit/2ee050d1d5bdc071f01ae66ce886c35ebf36b27e
Author: Oliver Smith-Denny <[email protected]>
Date: 2024-10-08 (Tue, 08 Oct 2024)
Changed paths:
M UnitTestFrameworkPkg/Library/UnitTestLib/Assert.c
M UnitTestFrameworkPkg/Library/UnitTestLib/Log.c
M UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLib.c
M UnitTestFrameworkPkg/PrivateInclude/UnitTestFrameworkTypes.h
Log Message:
-----------
UnitTestFrameworkPkg: UnitTestLib: Support Failure Strings of 512 Chars
Currently, there is a mismatch of allowed string sizes in UnitTestLib.
The UT_LOG_* macros allow a string size of 512, but failure messages
are constrained to 120 characters and some other string lengths are
similarly constrained. 120 characters is too few for some longer
error messages, particularly the ones that print out the path to
the failing line. This can result in the actual error not getting
printed in the log.
This patch updates all UnitTestLib allowed string lengths to be 512
characters.
Signed-off-by: Oliver Smith-Denny <[email protected]>
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