]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml
UnitTestFrameworkPkg: Update YAML to ignore specific ECC files/errors
[mirror_edk2.git] / UnitTestFrameworkPkg / UnitTestFrameworkPkg.ci.yaml
index 01648595055ebf45d04114d2d026cef5e7573614..1b247a831593beb6a5987747b72642b230086ea6 100644 (file)
@@ -5,6 +5,25 @@
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 {\r
+    ## options defined .pytool/Plugin/LicenseCheck\r
+    "LicenseCheck": {\r
+        "IgnoreFiles": []\r
+    },\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+            "9005", "@MRT",\r
+            "7007", "_UNIT_TEST_FAILURE_TYPE_STRING"\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+            "Library/CmockaLib/cmocka",\r
+            "Library/UnitTestLib/RunTestsCmocka.c"\r
+        ]\r
+    },\r
     ## options defined .pytool/Plugin/CompilerPlugin\r
     "CompilerPlugin": {\r
         "DscPath": "UnitTestFrameworkPkg.dsc"\r
     "SpellCheck": {\r
         "AuditOnly": False,           # Fails test but run in AuditOnly mode to collect log\r
         "IgnoreFiles": [             # use gitignore syntax to ignore errors in matching files\r
-            "/Library/CmockaLib/cmocka/**/*.*"  # not going to spell check a submodule\r
+            "Library/CmockaLib/cmocka/**/*.*"  # not going to spell check a submodule\r
         ],\r
         "ExtendWords": [             # words to extend to the dictionary for this package\r
+            "testcase",\r
+            "testsuites",\r
             "cmocka",\r
             "buildmodule",\r
             "criterium",\r
             "pytool",\r
             "pytools",\r
             "NOFAILURE",\r
-            "DHAVE" # build flag for cmocka in the INF\r
+            "DHAVE", # build flag for cmocka in the INF\r
+            "corthon",      # Contact GitHub account in Readme\r
+            "mdkinney",     # Contact GitHub account in Readme\r
+            "spbrogan"      # Contact GitHub account in Readme\r
         ],\r
         "IgnoreStandardPaths": [],   # Standard Plugin defined paths that should be ignore\r
         "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r