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