Skip to content

Commit

Permalink
UnitTestFrameworkPkg: Add configuration for Ecc check in yaml file
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Sean Brogan <[email protected]>
Cc: Bret Barkelew <[email protected]>
Signed-off-by: Shenglei Zhang <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>
  • Loading branch information
shenglei10 committed Aug 14, 2020
1 parent 69424b7 commit 9b50df3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9b50df3

Please sign in to comment.