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>
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
## @file
|
|
# CI configuration for FmpDevicePkg
|
|
#
|
|
# Copyright (c) Microsoft Corporation
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
{
|
|
"CompilerPlugin": {
|
|
"DscPath": "FmpDevicePkg.dsc"
|
|
},
|
|
"HostUnitTestCompilerPlugin": {
|
|
"DscPath": "Test/FmpDeviceHostPkgTest.dsc"
|
|
},
|
|
"CharEncodingCheck": {
|
|
"IgnoreFiles": []
|
|
},
|
|
"DependencyCheck": {
|
|
"AcceptableDependencies": [
|
|
"MdePkg/MdePkg.dec",
|
|
"MdeModulePkg/MdeModulePkg.dec",
|
|
"FmpDevicePkg/FmpDevicePkg.dec",
|
|
"CryptoPkg/CryptoPkg.dec"
|
|
],
|
|
"AcceptableDependencies-HOST_APPLICATION":[
|
|
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
|
|
],
|
|
"IgnoreInf": []
|
|
},
|
|
"DscCompleteCheck": {
|
|
"DscPath": "FmpDevicePkg.dsc",
|
|
"IgnoreInf": []
|
|
},
|
|
"HostUnitTestDscCompleteCheck": {
|
|
"IgnoreInf": [],
|
|
"DscPath": "Test/FmpDeviceHostPkgTest.dsc"
|
|
},
|
|
"GuidCheck": {
|
|
"IgnoreGuidName": [],
|
|
"IgnoreGuidValue": [],
|
|
"IgnoreFoldersAndFiles": []
|
|
},
|
|
"LibraryClassCheck": {
|
|
"IgnoreHeaderFile": []
|
|
},
|
|
"SpellCheck": {
|
|
"ExtendWords": [
|
|
"FMPSTATE",
|
|
]
|
|
},
|
|
"Defines": {
|
|
"BLD_*_CONTINUOUS_INTEGRATION": "TRUE",
|
|
}
|
|
}
|