From: Shenglei Zhang Date: Wed, 10 Jun 2020 06:15:53 +0000 (+0800) Subject: OvmfPkg/OvmfPkg.ci.yaml: Add configuration for Ecc check X-Git-Tag: edk2-stable202008~42 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=354ef14cf55c40cb71c579ee37eaaa9e82d2ad40;hp=0716b2390f005e84961cb98af28bd16cdcc5db42;p=mirror_edk2.git 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 Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Shenglei Zhang Acked-by: Laszlo Ersek Reviewed-by: Liming Gao --- diff --git a/OvmfPkg/OvmfPkg.ci.yaml b/OvmfPkg/OvmfPkg.ci.yaml index ed342d7a3d..3128aefe9e 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.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -12,6 +13,17 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test