From 7b453107f8a11ca8e3ca409276c9d062ade56e9f Mon Sep 17 00:00:00 2001 From: Shenglei Zhang Date: Wed, 10 Jun 2020 14:20:22 +0800 Subject: UnitTestFrameworkPkg: Add configuration for Ecc check in yaml file 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: Michael D Kinney Cc: Sean Brogan Cc: Bret Barkelew Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao Reviewed-by: Michael D Kinney --- UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'UnitTestFrameworkPkg') diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml index fc5b3b3876..9e9ffc1af1 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml @@ -9,6 +9,18 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + "Library/CmockaLib/cmocka" + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "UnitTestFrameworkPkg.dsc" -- cgit v1.2.3