]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/ArmVirtPkg.ci.yaml: Add configuration for Ecc check
authorShenglei Zhang <shenglei.zhang@intel.com>
Wed, 10 Jun 2020 05:51:32 +0000 (13:51 +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: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Leif Lindholm <leif@nuviainc.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>
Acked-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
ArmVirtPkg/ArmVirtPkg.ci.yaml

index 27bb7ff49011141030eb57a4f22ebc919fd81f11..8b2c0305c1756d9048ab4df316c3eba79a0ad2a4 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