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>
		
			
				
	
	
		
			35 lines
		
	
	
		
			875 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			875 B
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
# Unit tests of EvaluateDependency API in FmpDependencyLib that are run from host
 | 
						|
# environment.
 | 
						|
#
 | 
						|
# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
 | 
						|
# SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
##
 | 
						|
 | 
						|
[Defines]
 | 
						|
  INF_VERSION                    = 0x00010006
 | 
						|
  BASE_NAME                      = FmpDependencyLibUnitTestsHost
 | 
						|
  FILE_GUID                      = CE32C647-CAD7-4099-9463-653B932C1691
 | 
						|
  MODULE_TYPE                    = HOST_APPLICATION
 | 
						|
  VERSION_STRING                 = 1.0
 | 
						|
 | 
						|
#
 | 
						|
# The following information is for reference only and not required by the build tools.
 | 
						|
#
 | 
						|
#  VALID_ARCHITECTURES           = IA32 X64
 | 
						|
#
 | 
						|
 | 
						|
[Sources]
 | 
						|
  EvaluateDependencyUnitTest.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
  FmpDevicePkg/FmpDevicePkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  BaseLib
 | 
						|
  BaseMemoryLib
 | 
						|
  DebugLib
 | 
						|
  UnitTestLib
 | 
						|
  FmpDependencyLib
 |