UnitTestFrameworkPkg.ci.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. ## options defined .pytool/Plugin/DependencyCheck
  40. "DependencyCheck": {
  41. "AcceptableDependencies": [
  42. "MdePkg/MdePkg.dec",
  43. "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"
  44. ],
  45. # For host based unit tests
  46. "AcceptableDependencies-HOST_APPLICATION":[],
  47. # For UEFI shell based apps
  48. "AcceptableDependencies-UEFI_APPLICATION":[
  49. "MdeModulePkg/MdeModulePkg.dec",
  50. "ShellPkg/ShellPkg.dec"
  51. ],
  52. "IgnoreInf": []
  53. },
  54. ## options defined .pytool/Plugin/DscCompleteCheck
  55. "DscCompleteCheck": {
  56. "DscPath": "UnitTestFrameworkPkg.dsc",
  57. "IgnoreInf": []
  58. },
  59. ## options defined .pytool/Plugin/HostUnitTestDscCompleteCheck
  60. "HostUnitTestDscCompleteCheck": {
  61. "IgnoreInf": [],
  62. "DscPath": "Test/UnitTestFrameworkPkgHostTest.dsc"
  63. },
  64. ## options defined .pytool/Plugin/GuidCheck
  65. "GuidCheck": {
  66. "IgnoreGuidName": [],
  67. "IgnoreGuidValue": [],
  68. "IgnoreFoldersAndFiles": [],
  69. "IgnoreDuplicates": []
  70. },
  71. ## options defined .pytool/Plugin/LibraryClassCheck
  72. "LibraryClassCheck": {
  73. "IgnoreHeaderFile": []
  74. },
  75. ## options defined .pytool/Plugin/SpellCheck
  76. "SpellCheck": {
  77. "AuditOnly": False, # Fails test but run in AuditOnly mode to collect log
  78. "IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
  79. "Library/CmockaLib/cmocka/**/*.*", # not going to spell check a submodule
  80. "Library/GoogleTestLib/googletest/**/*.*" # not going to spell check a submodule
  81. ],
  82. "ExtendWords": [ # words to extend to the dictionary for this package
  83. "testcase",
  84. "testsuites",
  85. "cmocka",
  86. "buildmodule",
  87. "criterium",
  88. "pytool",
  89. "pytools",
  90. "NOFAILURE",
  91. "cmockery",
  92. "cobertura",
  93. "DHAVE", # build flag for cmocka in the INF
  94. "gtest", # file name in GoogleTestLib.inf
  95. "corthon", # Contact GitHub account in Readme
  96. "mdkinney", # Contact GitHub account in Readme
  97. "spbrogan" # Contact GitHub account in Readme
  98. ],
  99. "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
  100. "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
  101. }
  102. }