VirtualBox

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

Last change on this file was 108794, checked in by vboxsync, 4 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 5.2 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 "UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestDoubleFree/SampleUnitTestDoubleFree.inf",
71 "UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestBufferOverflow/SampleUnitTestBufferOverflow.inf",
72 "UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestBufferUnderflow/SampleUnitTestBufferUnderflow.inf",
73 "UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestNullAddress/SampleUnitTestNullAddress.inf",
74 "UnitTestFrameworkPkg/Test/UnitTest/Sample/SampleUnitTestInvalidAddress/SampleUnitTestInvalidAddress.inf"
75 ],
76 "DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
77 },
78 ## options defined .pytool/Plugin/GuidCheck
79 "GuidCheck": {
80 "IgnoreGuidName": [],
81 "IgnoreGuidValue": [],
82 "IgnoreFoldersAndFiles": [],
83 "IgnoreDuplicates": []
84 },
85 ## options defined .pytool/Plugin/LibraryClassCheck
86 "LibraryClassCheck": {
87 "IgnoreHeaderFile": []
88 },
89
90 ## options defined .pytool/Plugin/SpellCheck
91 "SpellCheck": {
92 "AuditOnly": False, # Fails test but run in AuditOnly mode to collect log
93 "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
94 "Library/CmockaLib/cmocka/**/*.*", # not going to spell check a submodule
95 "Library/GoogleTestLib/googletest/**/*.*", # not going to spell check a submodule
96 "Library/SubhookLib/subhook/**/*.*" # not going to spell check a submodule
97 ],
98 "ExtendWords": [ # words to extend to the dictionary for this package
99 "noreplace",
100 "Pointee",
101 "gmock",
102 "GMOCK",
103 "DSUBHOOK",
104 "testcase",
105 "testsuites",
106 "cmocka",
107 "buildmodule",
108 "criterium",
109 "pytool",
110 "pytools",
111 "NOFAILURE",
112 "cmockery",
113 "cobertura",
114 "DHAVE", # build flag for cmocka in the INF
115 "gtest", # file name in GoogleTestLib.inf
116 "defiapi", # build flag for gtest
117 "fexceptions", # build flag for gtest
118 "corthon", # Contact GitHub account in Readme
119 "mdkinney", # Contact GitHub account in Readme
120 "spbrogan" # Contact GitHub account in Readme
121 ],
122 "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
123 "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
124 },
125
126 # options defined in .pytool/Plugin/UncrustifyCheck
127 "UncrustifyCheck": {
128 "IgnoreFiles": [
129 "Library/CmockaLib/cmocka/**",
130 "Library/GoogleTestLib/googletest/**",
131 "Library/SubhookLib/subhook/**"
132 ]
133 }
134}
Note: See TracBrowser for help on using the repository browser.

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