summaryrefslogtreecommitdiff
path: root/OvmfPkg/OvmfPkg.ci.yaml
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2020-06-10 14:15:53 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-17 03:28:09 +0000
commit354ef14cf55c40cb71c579ee37eaaa9e82d2ad40 (patch)
tree54320fb5583f54c46638451db89b74bc621b8551 /OvmfPkg/OvmfPkg.ci.yaml
parent0716b2390f005e84961cb98af28bd16cdcc5db42 (diff)
downloadedk2-354ef14cf55c40cb71c579ee37eaaa9e82d2ad40.zip
edk2-354ef14cf55c40cb71c579ee37eaaa9e82d2ad40.tar.gz
edk2-354ef14cf55c40cb71c579ee37eaaa9e82d2ad40.tar.bz2
OvmfPkg/OvmfPkg.ci.yaml: Add configuration for Ecc check
Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'OvmfPkg/OvmfPkg.ci.yaml')
-rw-r--r--OvmfPkg/OvmfPkg.ci.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkg.ci.yaml b/OvmfPkg/OvmfPkg.ci.yaml
index ed342d7..3128aef 100644
--- a/OvmfPkg/OvmfPkg.ci.yaml
+++ b/OvmfPkg/OvmfPkg.ci.yaml
@@ -5,6 +5,7 @@
# used for code analysis.
#
# Copyright (c) Microsoft Corporation
+# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
@@ -12,6 +13,17 @@
"LicenseCheck": {
"IgnoreFiles": []
},
+ "EccCheck": {
+ ## Exception sample looks like below:
+ ## "ExceptionList": [
+ ## "<ErrorID>", "<KeyWord>"
+ ## ]
+ "ExceptionList": [
+ ],
+ ## Both file path and directory path are accepted.
+ "IgnoreFiles": [
+ ]
+ },
## options defined .pytool/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "" # Don't support this test