]> git.proxmox.com Git - mirror_edk2.git/blame - UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
UnitTestFrameworkPkg: Add googletest submodule and GoogleTestLib
[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
cef0c5c6
MK
81 "Library/CmockaLib/cmocka/**/*.*", # not going to spell check a submodule\r
82 "Library/GoogleTestLib/googletest/**/*.*" # not going to spell check a submodule\r
3e61b953
MK
83 ],\r
84 "ExtendWords": [ # words to extend to the dictionary for this package\r
4698f544
BB
85 "testcase",\r
86 "testsuites",\r
3e61b953
MK
87 "cmocka",\r
88 "buildmodule",\r
89 "criterium",\r
90 "pytool",\r
91 "pytools",\r
92 "NOFAILURE",\r
14a73109 93 "cmockery",\r
4403bbd7 94 "DHAVE", # build flag for cmocka in the INF\r
cef0c5c6 95 "gtest", # file name in GoogleTestLib.inf\r
4403bbd7
BB
96 "corthon", # Contact GitHub account in Readme\r
97 "mdkinney", # Contact GitHub account in Readme\r
98 "spbrogan" # Contact GitHub account in Readme\r
3e61b953
MK
99 ],\r
100 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r
101 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r
102 }\r
103}\r