2020-01-22 19:12:56 +01: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
|
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
|
|
|
BUILD_TARGETS = NOOPT
|
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
|
|
|
!include UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc
|
|
|
|
|
2020-06-11 03:14:39 +02:00
|
|
|
[PcdsPatchableInModule]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
|
|
|
|
2020-01-22 19:12:56 +01:00
|
|
|
[Components]
|
|
|
|
#
|
2022-06-21 04:52:03 +02:00
|
|
|
# Build HOST_APPLICATIONs that test the SampleUnitTest
|
2020-01-22 19:12:56 +01:00
|
|
|
#
|
|
|
|
UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTest/SampleUnitTestHost.inf
|
2022-06-21 04:52:03 +02:00
|
|
|
UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTest/SampleGoogleTestHost.inf
|
2020-01-22 19:12:56 +01:00
|
|
|
|
|
|
|
#
|
2020-06-11 02:57:16 +02:00
|
|
|
# Build HOST_APPLICATION Libraries
|
2020-01-22 19:12:56 +01:00
|
|
|
#
|
|
|
|
UnitTestFrameworkPkg/Library/CmockaLib/CmockaLib.inf
|
2023-03-25 00:43:10 +01:00
|
|
|
UnitTestFrameworkPkg/Library/FunctionMockLib/FunctionMockLib.inf
|
2022-06-21 04:52:03 +02:00
|
|
|
UnitTestFrameworkPkg/Library/GoogleTestLib/GoogleTestLib.inf
|
2020-01-22 19:12:56 +01:00
|
|
|
UnitTestFrameworkPkg/Library/Posix/DebugLibPosix/DebugLibPosix.inf
|
|
|
|
UnitTestFrameworkPkg/Library/Posix/MemoryAllocationLibPosix/MemoryAllocationLibPosix.inf
|
2023-03-25 00:43:10 +01:00
|
|
|
UnitTestFrameworkPkg/Library/SubhookLib/SubhookLib.inf
|
2020-01-22 19:12:56 +01:00
|
|
|
UnitTestFrameworkPkg/Library/UnitTestLib/UnitTestLibCmocka.inf
|