mirror of https://github.com/acidanthera/audk.git
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:
parent
5cfb5d6c01
commit
bc7bbd3bc4
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue