SecurityPkg.ci.yaml: Add debug macro exception

Adds a CI YAML entry to acknowledge a case where a single argument
is matched to a format specifier with a ternary operator.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
This commit is contained in:
Michael Kubacki 2023-08-10 17:03:06 -04:00 committed by mergify[bot]
parent 5cfb5d6c01
commit bc7bbd3bc4
1 changed files with 9 additions and 0 deletions

View File

@ -106,5 +106,14 @@
"Defines": {
"BLD_*_CONTINUOUS_INTEGRATION": "TRUE",
},
"DebugMacroCheck": {
"StringSubstitutions": {
# SecurityPkg/IntelTdx/TdTcg2Dxe/TdTcg2Dxe.c
# Reason: Acknowledging use of two format specifiers in string with one argument
# Replace ternary operator in debug string with single specifier
'Index == COLUME_SIZE/2 ? " | %02x" : " %02x"': "%d"
}
}
}