summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2020-06-10 13:59:43 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-17 03:28:09 +0000
commit647aa7110f9c744dd0d27b01a50b581eb3de2a57 (patch)
tree5bca2d3c16a1b9c9f6838c4d8d501b936e8452c3 /EmulatorPkg
parent5a677bbc455f9eefe4bdadd60b8f55ea1278da83 (diff)
downloadedk2-647aa7110f9c744dd0d27b01a50b581eb3de2a57.tar.gz
edk2-647aa7110f9c744dd0d27b01a50b581eb3de2a57.tar.bz2
edk2-647aa7110f9c744dd0d27b01a50b581eb3de2a57.zip
EmulatorPkg/EmulatorPkg.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: Andrew Fish <afish@apple.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Acked-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'EmulatorPkg')
-rw-r--r--EmulatorPkg/EmulatorPkg.ci.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/EmulatorPkg/EmulatorPkg.ci.yaml b/EmulatorPkg/EmulatorPkg.ci.yaml
index dead82f697..980844c1fd 100644
--- a/EmulatorPkg/EmulatorPkg.ci.yaml
+++ b/EmulatorPkg/EmulatorPkg.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