From: Shenglei Zhang Date: Tue, 26 May 2020 07:27:31 +0000 (+0800) Subject: MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for Ecc check X-Git-Tag: edk2-stable202008~50 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=32ed3624fa8b29e661f9b3f8d52bf4c78b23b4eb 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 Cc: Hao A Wu Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- 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.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -9,6 +10,19 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "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"