mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
This change adds 5 unit tests to cover the incoming buffer validation routine in the MmCommunicate function. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
39 lines
1.6 KiB
Text
39 lines
1.6 KiB
Text
## @file
|
|
# StandaloneMmPkgHostTest DSC file used to build host-based unit tests.
|
|
#
|
|
# Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
[Defines]
|
|
PLATFORM_NAME = StandaloneMmPkgHostTest
|
|
PLATFORM_GUID = A3D4B87C-5E2F-4A19-8C6D-1F7E09B23D56
|
|
PLATFORM_VERSION = 0.1
|
|
DSC_SPECIFICATION = 0x00010005
|
|
OUTPUT_DIRECTORY = Build/StandaloneMmPkg/HostTest
|
|
SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64
|
|
BUILD_TARGETS = NOOPT
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
|
|
|
|
[Components]
|
|
#
|
|
# Build HOST_APPLICATION that tests StandaloneMmPkg
|
|
#
|
|
StandaloneMmPkg/Drivers/MmCommunicationDxe/GoogleTest/MmCommunicationDxeGoogleTest.inf
|
|
|
|
[LibraryClasses]
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|