summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2023-08-10 17:03:06 -0400
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-09-19 01:20:27 +0000
commitbc7bbd3bc4c990014da33cae0979b3bc9138d3ec (patch)
treedb198e9cf3ed25695bd941f02b3a65496e0e74f2 /SecurityPkg
parent5cfb5d6c012701943fe976adda5cce7bd0a26084 (diff)
downloadedk2-bc7bbd3bc4c990014da33cae0979b3bc9138d3ec.tar.gz
edk2-bc7bbd3bc4c990014da33cae0979b3bc9138d3ec.tar.bz2
edk2-bc7bbd3bc4c990014da33cae0979b3bc9138d3ec.zip
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>
Diffstat (limited to 'SecurityPkg')
-rw-r--r--SecurityPkg/SecurityPkg.ci.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/SecurityPkg/SecurityPkg.ci.yaml b/SecurityPkg/SecurityPkg.ci.yaml
index 2138b0a5e2..3f03762bd6 100644
--- a/SecurityPkg/SecurityPkg.ci.yaml
+++ b/SecurityPkg/SecurityPkg.ci.yaml
@@ -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"
+ }
}
}