mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	FmpDevicePkg/Test: Add FmpDependencyLib unit test
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2696 * Add unit tests for EvaluateDependency API in FmpDependencyLib. * Add Test/FmpDeviceHostPkgTest.dsc to build host based unit test. * Update FmpDevicePkg.dsc to build target based unit test. * Update FmpDevicePkg.ci.yaml to build and run host based test. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Signed-off-by: Wei6 Xu <wei6.xu@intel.com> Reviewed-by: Sean Brogan <sean.brogan@microsoft.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
		| @ -36,6 +36,8 @@ | ||||
|   # | ||||
|   DEFINE DEVICE_FMP_STORAGE_ACCESS_ENABLE = TRUE | ||||
|  | ||||
| !include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc | ||||
|  | ||||
| [LibraryClasses] | ||||
|   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf | ||||
|   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf | ||||
| @ -163,5 +165,10 @@ | ||||
|       CapsuleUpdatePolicyLib|FmpDevicePkg/Library/CapsuleUpdatePolicyLibNull/CapsuleUpdatePolicyLibNull.inf | ||||
|   } | ||||
|  | ||||
|   # | ||||
|   # Add UEFI Target Based Unit Tests | ||||
|   # | ||||
|   FmpDevicePkg/Test/UnitTest/Library/FmpDependencyLib/FmpDependencyLibUnitTestsUefi.inf | ||||
|  | ||||
| [BuildOptions] | ||||
|   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Wei6 Xu
					Wei6 Xu