mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	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>
This commit is contained in:
		 Shenglei Zhang
					Shenglei Zhang
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							739adc8ba4
						
					
				
				
					commit
					7b453107f8
				
			| @ -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" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user