summaryrefslogtreecommitdiffstats
path: root/UnitTestFrameworkPkg
diff options
context:
space:
mode:
authorShenglei Zhang <shenglei.zhang@intel.com>2020-06-10 14:20:22 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-17 03:28:09 +0000
commit7b453107f8a11ca8e3ca409276c9d062ade56e9f (patch)
treeed1b95469ab85f4dd896324c1860e0cbbbdc6e34 /UnitTestFrameworkPkg
parent739adc8ba4f15b6d8bdb1139bc8b76d2a101b1d4 (diff)
downloadedk2-7b453107f8a11ca8e3ca409276c9d062ade56e9f.tar.gz
edk2-7b453107f8a11ca8e3ca409276c9d062ade56e9f.tar.bz2
edk2-7b453107f8a11ca8e3ca409276c9d062ade56e9f.zip
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 <michael.d.kinney@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'UnitTestFrameworkPkg')
-rw-r--r--UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml12
1 files changed, 12 insertions, 0 deletions
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": [
+ ## "<ErrorID>", "<KeyWord>"
+ ## ]
+ "ExceptionList": [
+ ],
+ ## Both file path and directory path are accepted.
+ "IgnoreFiles": [
+ "Library/CmockaLib/cmocka"
+ ]
+ },
## options defined .pytool/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "UnitTestFrameworkPkg.dsc"