diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2023-08-10 17:03:06 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-19 01:20:27 +0000 |
commit | bc7bbd3bc4c990014da33cae0979b3bc9138d3ec (patch) | |
tree | db198e9cf3ed25695bd941f02b3a65496e0e74f2 /SecurityPkg | |
parent | 5cfb5d6c012701943fe976adda5cce7bd0a26084 (diff) | |
download | edk2-bc7bbd3bc4c990014da33cae0979b3bc9138d3ec.zip edk2-bc7bbd3bc4c990014da33cae0979b3bc9138d3ec.tar.gz edk2-bc7bbd3bc4c990014da33cae0979b3bc9138d3ec.tar.bz2 |
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.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/SecurityPkg/SecurityPkg.ci.yaml b/SecurityPkg/SecurityPkg.ci.yaml index 2138b0a..3f03762 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"
+ }
}
}
|