]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmulatorPkg/EmulatorPkg.ci.yaml: Add configuration for Ecc check
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 10 Jun 2020 05:59:43 +0000 (13:59 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 17 Aug 2020 03:28:09 +0000 (03:28 +0000)
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>
EmulatorPkg/EmulatorPkg.ci.yaml

index dead82f6974524fd1e0d0e63256f7cc9335dd898..980844c1fdd40532c19c9dd1f0b4e57f2dbc0e88 100644 (file)
@@ -5,6 +5,7 @@
 # used for code analysis.\r
 #\r
 # Copyright (c) Microsoft Corporation\r
+# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 {\r
     "LicenseCheck": {\r
         "IgnoreFiles": []\r
     },\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+        ]\r
+    },\r
     ## options defined .pytool/Plugin/CompilerPlugin\r
     "CompilerPlugin": {\r
         "DscPath": "" # Don't support this test\r