]> git.proxmox.com Git - mirror_edk2.git/blob - UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
UnitTestFrameworkPkg: Update YAML to ignore specific ECC files/errors
[mirror_edk2.git] / UnitTestFrameworkPkg / UnitTestFrameworkPkg.ci.yaml
1 ## @file
2 # CI configuration for UnitTestFrameworkPkg
3 #
4 # Copyright (c) Microsoft Corporation
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 ##
7 {
8 ## options defined .pytool/Plugin/LicenseCheck
9 "LicenseCheck": {
10 "IgnoreFiles": []
11 },
12 "EccCheck": {
13 ## Exception sample looks like below:
14 ## "ExceptionList": [
15 ## "<ErrorID>", "<KeyWord>"
16 ## ]
17 "ExceptionList": [
18 "9005", "@MRT",
19 "7007", "_UNIT_TEST_FAILURE_TYPE_STRING"
20 ],
21 ## Both file path and directory path are accepted.
22 "IgnoreFiles": [
23 "Library/CmockaLib/cmocka",
24 "Library/UnitTestLib/RunTestsCmocka.c"
25 ]
26 },
27 ## options defined .pytool/Plugin/CompilerPlugin
28 "CompilerPlugin": {
29 "DscPath": "UnitTestFrameworkPkg.dsc"
30 },
31 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
32 "HostUnitTestCompilerPlugin": {
33 "DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
34 },
35 ## options defined .pytool/Plugin/CharEncodingCheck
36 "CharEncodingCheck": {
37 "IgnoreFiles": []
38 },
39
40 ## options defined .pytool/Plugin/DependencyCheck
41 "DependencyCheck": {
42 "AcceptableDependencies": [
43 "MdePkg/MdePkg.dec",
44 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
45 ],
46 # For host based unit tests
47 "AcceptableDependencies-HOST_APPLICATION":[],
48 # For UEFI shell based apps
49 "AcceptableDependencies-UEFI_APPLICATION":[
50 "MdeModulePkg/MdeModulePkg.dec",
51 "ShellPkg/ShellPkg.dec"
52 ],
53 "IgnoreInf": []
54 },
55 ## options defined .pytool/Plugin/DscCompleteCheck
56 "DscCompleteCheck": {
57 "DscPath": "UnitTestFrameworkPkg.dsc",
58 "IgnoreInf": []
59 },
60 ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
61 "HostUnitTestDscCompleteCheck": {
62 "IgnoreInf": [],
63 "DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
64 },
65 ## options defined .pytool/Plugin/GuidCheck
66 "GuidCheck": {
67 "IgnoreGuidName": [],
68 "IgnoreGuidValue": [],
69 "IgnoreFoldersAndFiles": [],
70 "IgnoreDuplicates": []
71 },
72 ## options defined .pytool/Plugin/LibraryClassCheck
73 "LibraryClassCheck": {
74 "IgnoreHeaderFile": []
75 },
76
77 ## options defined .pytool/Plugin/SpellCheck
78 "SpellCheck": {
79 "AuditOnly": False, # Fails test but run in AuditOnly mode to collect log
80 "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
81 "Library/CmockaLib/cmocka/**/*.*" # not going to spell check a submodule
82 ],
83 "ExtendWords": [ # words to extend to the dictionary for this package
84 "testcase",
85 "testsuites",
86 "cmocka",
87 "buildmodule",
88 "criterium",
89 "pytool",
90 "pytools",
91 "NOFAILURE",
92 "DHAVE", # build flag for cmocka in the INF
93 "corthon", # Contact GitHub account in Readme
94 "mdkinney", # Contact GitHub account in Readme
95 "spbrogan" # Contact GitHub account in Readme
96 ],
97 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
98 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
99 }
100 }