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.

Change-Id: I0872f0d4cbe1ec38eba2aec226f4d5a0c694c899
Cc: Michael D Kinney <[email protected]>
Cc: Sean Brogan <[email protected]>
Cc: Bret Barkelew <[email protected]>
Signed-off-by: Shenglei Zhang <[email protected]>
Acked-by: Ray Ni <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
  • Loading branch information
shenglei10 committed Aug 11, 2020
1 parent 04d38ab commit 6f90b21
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@
"LicenseCheck": {
"IgnoreFiles": []
},
"EccCheck": {
## Exception sample looks like below:
## "ExceptionList": [
## "<ErrorID>", "<KeyWord>"
## ]
"ExceptionList": [
],
"IgnoreFiles": [
"Library/CmockaLib/cmocka"
]
},
## options defined .pytool/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "UnitTestFrameworkPkg.dsc"
Expand Down

0 comments on commit 6f90b21

Please sign in to comment.