https://bugzilla.tianocore.org/show_bug.cgi?id=2505 Add an implementation of a sample unit test that demonstrates the use of the UnitTestLib services and macros and supports being built for execution in a host environment or for execution on a target in PEI, DXE, SMM, or UEFI Shell. Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			723 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			723 B
		
	
	
	
		
			INI
		
	
	
	
	
	
## @file
 | 
						|
# Sample UnitTest built for execution in PEI.
 | 
						|
#
 | 
						|
# Copyright (c) Microsoft Corporation.<BR>
 | 
						|
# SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
##
 | 
						|
 | 
						|
[Defines]
 | 
						|
  INF_VERSION    = 0x00010006
 | 
						|
  BASE_NAME      = SampleUnitTestPei
 | 
						|
  FILE_GUID      = B9BD9451-3DC8-48EA-A6F0-55753BF186F1
 | 
						|
  MODULE_TYPE    = PEIM
 | 
						|
  VERSION_STRING = 1.0
 | 
						|
  ENTRY_POINT    = PeiEntryPoint
 | 
						|
 | 
						|
#
 | 
						|
# The following information is for reference only and not required by the build tools.
 | 
						|
#
 | 
						|
#  VALID_ARCHITECTURES           = IA32 X64
 | 
						|
#
 | 
						|
 | 
						|
[Sources]
 | 
						|
  SampleUnitTest.c
 | 
						|
 | 
						|
[Packages]
 | 
						|
  MdePkg/MdePkg.dec
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  PeimEntryPoint
 | 
						|
  BaseLib
 | 
						|
  DebugLib
 | 
						|
  UnitTestLib
 | 
						|
  PrintLib
 | 
						|
 | 
						|
[Depex]
 | 
						|
  gEfiPeiMemoryDiscoveredPpiGuid
 |