2020-01-22 10:12:56 -08:00
|
|
|
## @file
|
|
|
|
|
# UnitTestFrameworkPkg DSC file used to build host-based unit tests.
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) Microsoft Corporation.<BR>
|
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
|
#
|
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
|
PLATFORM_NAME = UnitTestFrameworkPkgHostTest
|
|
|
|
|
PLATFORM_GUID = C7F97D6D-54AC-45A9-8197-CC99B20CC7EC
|
|
|
|
|
PLATFORM_VERSION = 0.1
|
|
|
|
|
DSC_SPECIFICATION = 0x00010005
|
|
|
|
|
OUTPUT_DIRECTORY = Build/UnitTestFrameworkPkg/HostTest
|
2026-01-20 13:52:44 -08:00
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64|AARCH64
|
2020-01-22 10:12:56 -08:00
|
|
|
BUILD_TARGETS = NOOPT
|
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
|
|
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
|
|
|
|
|
2020-06-10 18:14:39 -07:00
|
|
|
[PcdsPatchableInModule]
|
2024-10-21 23:29:20 -07:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1F
|
2020-06-10 18:14:39 -07:00
|
|
|
|
2020-01-22 10:12:56 -08:00
|
|
|
[Components]
|
|
|
|
|
#
|
2022-06-20 19:52:03 -07:00
|
|
|
# Build HOST_APPLICATIONs that test the SampleUnitTest
|
2020-01-22 10:12:56 -08:00
|
|
|
#
|
|
|
|
|
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTest/SampleUnitTestHost.inf
|
2022-06-20 19:52:03 -07:00
|
|
|
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTestHost.inf
|
2020-01-22 10:12:56 -08:00
|
|
|
|
|
|
|
|
#
|
2020-06-10 17:57:16 -07:00
|
|
|
# Build HOST_APPLICATION Libraries
|
2020-01-22 10:12:56 -08:00
|
|
|
#
|
|
|
|
|
UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf
|
2022-06-20 19:52:03 -07:00
|
|
|
UnitTestFrameworkPkg/Library/GoogleTestLib/GoogleTestLib.inf
|
2020-01-22 10:12:56 -08:00
|
|
|
UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix.inf
|
|
|
|
|
UnitTestFrameworkPkg/Library/Posix/MemoryAllocationLibPosix/MemoryAllocationLibPosix.inf
|
|
|
|
|
UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLibCmocka.inf
|
2024-02-05 14:59:42 -08:00
|
|
|
UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLibHost.inf
|
2026-03-31 10:50:57 -07:00
|
|
|
|
|
|
|
|
[Components.IA32, Components.X64]
|
|
|
|
|
UnitTestFrameworkPkg/Library/FunctionMockLib/FunctionMockLib.inf
|
|
|
|
|
UnitTestFrameworkPkg/Library/SubhookLib/SubhookLib.inf
|