audk/BaseTools/Plugin/DebugMacroCheck/tests
Michael Kubacki cbcf0428e8 BaseTools/Plugin: Add DebugMacroCheck
Adds a plugin that finds debug macro formatting issues. These errors
often creep into debug prints in error conditions not frequently
executed and make debug more difficult when they are encountered.

The code can be as a standalone script which is useful to find
problems in a large codebase that has not been checked before or as
a build plugin that notifies a developer of an error right away.

The script was already used to find numerous issues in edk2 in the
past so there's not many code fixes in this change. More details
are available in the readme file:

.pytool\Plugin\DebugMacroCheck\Readme.md

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Rebecca Cran <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
2023-09-19 01:20:27 +00:00
..
DebugMacroDataSet.py BaseTools/Plugin: Add DebugMacroCheck 2023-09-19 01:20:27 +00:00
MacroTest.py BaseTools/Plugin: Add DebugMacroCheck 2023-09-19 01:20:27 +00:00
__init__.py BaseTools/Plugin: Add DebugMacroCheck 2023-09-19 01:20:27 +00:00
test_DebugMacroCheck.py BaseTools/Plugin: Add DebugMacroCheck 2023-09-19 01:20:27 +00:00