summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2020-05-26 15:27:31 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-17 03:28:09 +0000
commit32ed3624fa8b29e661f9b3f8d52bf4c78b23b4eb (patch)
treecfa1af1fae810f549edd1591c5d1702fecc52f9a /MdeModulePkg
parentfbc9cb4c8b4fc7c6aa63f47eae33d7c9849bf6e0 (diff)
downloadedk2-32ed3624fa8b29e661f9b3f8d52bf4c78b23b4eb.tar.gz
edk2-32ed3624fa8b29e661f9b3f8d52bf4c78b23b4eb.tar.bz2
edk2-32ed3624fa8b29e661f9b3f8d52bf4c78b23b4eb.zip
MdeModulePkg/MdeModulePkg.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. Besides, add submodule path in IgnoreFiles section. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/MdeModulePkg.ci.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.ci.yaml
index 0fc8c36338..1a7e955185 100644
--- a/MdeModulePkg/MdeModulePkg.ci.yaml
+++ b/MdeModulePkg/MdeModulePkg.ci.yaml
@@ -2,6 +2,7 @@
# CI configuration for MdeModulePkg
#
# Copyright (c) Microsoft Corporation
+# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
@@ -9,6 +10,19 @@
"LicenseCheck": {
"IgnoreFiles": []
},
+ "EccCheck": {
+ ## Exception sample looks like below:
+ ## "ExceptionList": [
+ ## "<ErrorID>", "<KeyWord>"
+ ## ]
+ "ExceptionList": [
+ ],
+ ## Both file path and directory path are accepted.
+ "IgnoreFiles": [
+ "Library/BrotliCustomDecompressLib/brotli",
+ "Universal/RegularExpressionDxe/oniguruma"
+ ]
+ },
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "MdeModulePkg.dsc"