VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml

Last change on this file was 105670, checked in by vboxsync, 3 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 4.6 KB
Line 
1## @file
2# CI configuration for UnitTestFrameworkPkg
3#
4# Copyright (c) Microsoft Corporation
5# SPDX-License-Identifier: BSD-2-Clause-Patent
6##
7{
8 "PrEval": {
9 "DscPath": "UnitTestFrameworkPkg.dsc",
10 },
11 ## options defined .pytool/Plugin/LicenseCheck
12 "LicenseCheck": {
13 "IgnoreFiles": []
14 },
15 "EccCheck": {
16 ## Exception sample looks like below:
17 ## "ExceptionList": [
18 ## "<ErrorID>", "<KeyWord>"
19 ## ]
20 "ExceptionList": [
21 "9005", "@MRT",
22 "7007", "_UNIT_TEST_FAILURE_TYPE_STRING"
23 ],
24 ## Both file path and directory path are accepted.
25 "IgnoreFiles": [
26 "Library/CmockaLib/cmocka",
27 "Library/UnitTestLib/RunTestsCmocka.c"
28 ]
29 },
30 ## options defined .pytool/Plugin/CompilerPlugin
31 "CompilerPlugin": {
32 "DscPath": "UnitTestFrameworkPkg.dsc"
33 },
34 ## options defined .pytool/Plugin/HostUnitTestCompilerPlugin
35 "HostUnitTestCompilerPlugin": {
36 "DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
37 },
38 ## options defined .pytool/Plugin/CharEncodingCheck
39 "CharEncodingCheck": {
40 "IgnoreFiles": []
41 },
42
43 ## options defined .pytool/Plugin/DependencyCheck
44 "DependencyCheck": {
45 "AcceptableDependencies": [
46 "MdePkg/MdePkg.dec",
47 "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
48 ],
49 # For host based unit tests
50 "AcceptableDependencies-HOST_APPLICATION":[],
51 # For UEFI shell based apps
52 "AcceptableDependencies-UEFI_APPLICATION":[
53 "MdeModulePkg/MdeModulePkg.dec",
54 "ShellPkg/ShellPkg.dec"
55 ],
56 "IgnoreInf": []
57 },
58 ## options defined .pytool/Plugin/DscCompleteCheck
59 "DscCompleteCheck": {
60 "DscPath": "UnitTestFrameworkPkg.dsc",
61 "IgnoreInf": []
62 },
63 ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
64 "HostUnitTestDscCompleteCheck": {
65 "IgnoreInf": [
66 "UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTestExpectFail/SampleGoogleTestHostExpectFail.inf",
67 "UnitTestFrameworkPkg/Test/GoogleTest/Sample/SampleGoogleTestGenerateException/SampleGoogleTestHostGenerateException.inf",
68 "UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestExpectFail/SampleUnitTestHostExpectFail.inf",
69 "UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestGenerateException/SampleUnitTestHostGenerateException.inf"
70 ],
71 "DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
72 },
73 ## options defined .pytool/Plugin/GuidCheck
74 "GuidCheck": {
75 "IgnoreGuidName": [],
76 "IgnoreGuidValue": [],
77 "IgnoreFoldersAndFiles": [],
78 "IgnoreDuplicates": []
79 },
80 ## options defined .pytool/Plugin/LibraryClassCheck
81 "LibraryClassCheck": {
82 "IgnoreHeaderFile": []
83 },
84
85 ## options defined .pytool/Plugin/SpellCheck
86 "SpellCheck": {
87 "AuditOnly": False, # Fails test but run in AuditOnly mode to collect log
88 "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
89 "Library/CmockaLib/cmocka/**/*.*", # not going to spell check a submodule
90 "Library/GoogleTestLib/googletest/**/*.*", # not going to spell check a submodule
91 "Library/SubhookLib/subhook/**/*.*" # not going to spell check a submodule
92 ],
93 "ExtendWords": [ # words to extend to the dictionary for this package
94 "Pointee",
95 "gmock",
96 "GMOCK",
97 "DSUBHOOK",
98 "testcase",
99 "testsuites",
100 "cmocka",
101 "buildmodule",
102 "criterium",
103 "pytool",
104 "pytools",
105 "NOFAILURE",
106 "cmockery",
107 "cobertura",
108 "DHAVE", # build flag for cmocka in the INF
109 "gtest", # file name in GoogleTestLib.inf
110 "defiapi", # build flag for gtest
111 "fexceptions", # build flag for gtest
112 "corthon", # Contact GitHub account in Readme
113 "mdkinney", # Contact GitHub account in Readme
114 "spbrogan" # Contact GitHub account in Readme
115 ],
116 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
117 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
118 },
119
120 # options defined in .pytool/Plugin/UncrustifyCheck
121 "UncrustifyCheck": {
122 "IgnoreFiles": [
123 "Library/CmockaLib/cmocka/**",
124 "Library/GoogleTestLib/googletest/**",
125 "Library/SubhookLib/subhook/**"
126 ]
127 }
128}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette