2020-01-22 19:12:56 +01:00
|
|
|
## @file
|
|
|
|
# CI configuration for UnitTestFrameworkPkg
|
|
|
|
#
|
|
|
|
# Copyright (c) Microsoft Corporation
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
##
|
|
|
|
{
|
2020-07-17 09:25:57 +02:00
|
|
|
## options defined .pytool/Plugin/LicenseCheck
|
|
|
|
"LicenseCheck": {
|
|
|
|
"IgnoreFiles": []
|
|
|
|
},
|
2020-06-10 08:20:22 +02:00
|
|
|
"EccCheck": {
|
|
|
|
## Exception sample looks like below:
|
|
|
|
## "ExceptionList": [
|
|
|
|
## "<ErrorID>", "<KeyWord>"
|
|
|
|
## ]
|
|
|
|
"ExceptionList": [
|
2021-11-23 22:04:28 +01:00
|
|
|
"9005", "@MRT",
|
|
|
|
"7007", "_UNIT_TEST_FAILURE_TYPE_STRING"
|
2020-06-10 08:20:22 +02:00
|
|
|
],
|
|
|
|
## Both file path and directory path are accepted.
|
|
|
|
"IgnoreFiles": [
|
2021-11-23 22:04:28 +01:00
|
|
|
"Library/CmockaLib/cmocka",
|
|
|
|
"Library/UnitTestLib/RunTestsCmocka.c"
|
2020-06-10 08:20:22 +02:00
|
|
|
]
|
|
|
|
},
|
2020-01-22 19:12:56 +01:00
|
|
|
## options defined .pytool/Plugin/CompilerPlugin
|
|
|
|
"CompilerPlugin": {
|
|
|
|
"DscPath": "UnitTestFrameworkPkg.dsc"
|
|
|
|
},
|
|
|
|
## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
|
|
|
|
"HostUnitTestCompilerPlugin": {
|
|
|
|
"DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
|
|
|
|
},
|
|
|
|
## options defined .pytool/Plugin/CharEncodingCheck
|
|
|
|
"CharEncodingCheck": {
|
|
|
|
"IgnoreFiles": []
|
|
|
|
},
|
|
|
|
|
|
|
|
## options defined .pytool/Plugin/DependencyCheck
|
|
|
|
"DependencyCheck": {
|
|
|
|
"AcceptableDependencies": [
|
|
|
|
"MdePkg/MdePkg.dec",
|
|
|
|
"UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
|
|
|
|
],
|
|
|
|
# For host based unit tests
|
|
|
|
"AcceptableDependencies-HOST_APPLICATION":[],
|
|
|
|
# For UEFI shell based apps
|
|
|
|
"AcceptableDependencies-UEFI_APPLICATION":[
|
|
|
|
"MdeModulePkg/MdeModulePkg.dec",
|
|
|
|
"ShellPkg/ShellPkg.dec"
|
|
|
|
],
|
|
|
|
"IgnoreInf": []
|
|
|
|
},
|
|
|
|
## options defined .pytool/Plugin/DscCompleteCheck
|
|
|
|
"DscCompleteCheck": {
|
|
|
|
"DscPath": "UnitTestFrameworkPkg.dsc",
|
|
|
|
"IgnoreInf": []
|
|
|
|
},
|
|
|
|
## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
|
|
|
|
"HostUnitTestDscCompleteCheck": {
|
|
|
|
"IgnoreInf": [],
|
|
|
|
"DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
|
|
|
|
},
|
|
|
|
## options defined .pytool/Plugin/GuidCheck
|
|
|
|
"GuidCheck": {
|
|
|
|
"IgnoreGuidName": [],
|
|
|
|
"IgnoreGuidValue": [],
|
|
|
|
"IgnoreFoldersAndFiles": [],
|
|
|
|
"IgnoreDuplicates": []
|
|
|
|
},
|
|
|
|
## options defined .pytool/Plugin/LibraryClassCheck
|
|
|
|
"LibraryClassCheck": {
|
|
|
|
"IgnoreHeaderFile": []
|
|
|
|
},
|
|
|
|
|
|
|
|
## options defined .pytool/Plugin/SpellCheck
|
|
|
|
"SpellCheck": {
|
|
|
|
"AuditOnly": False, # Fails test but run in AuditOnly mode to collect log
|
|
|
|
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
|
2022-06-21 04:52:03 +02:00
|
|
|
"Library/CmockaLib/cmocka/**/*.*", # not going to spell check a submodule
|
2023-03-25 00:43:10 +01:00
|
|
|
"Library/GoogleTestLib/googletest/**/*.*", # not going to spell check a submodule
|
|
|
|
"Library/SubhookLib/subhook/**/*.*" # not going to spell check a submodule
|
2020-01-22 19:12:56 +01:00
|
|
|
],
|
|
|
|
"ExtendWords": [ # words to extend to the dictionary for this package
|
2023-03-25 00:43:10 +01:00
|
|
|
"Pointee",
|
|
|
|
"gmock",
|
|
|
|
"GMOCK",
|
|
|
|
"DSUBHOOK",
|
2020-07-28 02:23:54 +02:00
|
|
|
"testcase",
|
|
|
|
"testsuites",
|
2020-01-22 19:12:56 +01:00
|
|
|
"cmocka",
|
|
|
|
"buildmodule",
|
|
|
|
"criterium",
|
|
|
|
"pytool",
|
|
|
|
"pytools",
|
|
|
|
"NOFAILURE",
|
2022-01-08 03:44:44 +01:00
|
|
|
"cmockery",
|
2022-09-27 06:24:18 +02:00
|
|
|
"cobertura",
|
2020-02-14 16:01:01 +01:00
|
|
|
"DHAVE", # build flag for cmocka in the INF
|
2022-06-21 04:52:03 +02:00
|
|
|
"gtest", # file name in GoogleTestLib.inf
|
2020-02-14 16:01:01 +01:00
|
|
|
"corthon", # Contact GitHub account in Readme
|
|
|
|
"mdkinney", # Contact GitHub account in Readme
|
|
|
|
"spbrogan" # Contact GitHub account in Readme
|
2020-01-22 19:12:56 +01:00
|
|
|
],
|
|
|
|
"IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
|
|
|
|
"AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
|
|
|
|
}
|
|
|
|
}
|