]> git.proxmox.com Git - mirror_edk2.git/commitdiff
DynamicTablesPkg: Update DynamicTablesPkg.ci.yaml
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 30 Sep 2021 07:48:19 +0000 (08:48 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 1 Oct 2021 10:57:43 +0000 (10:57 +0000)
To prepare edk2 upstream CI for incoming modifications:
1- Disable the Ecc check 9005:
   "Only Doxygen commands '@bug', '@todo', [...], '@{', '@}'
   are allowed to mark the code Unknown doxygen command [...]"
2- Disable the Ecc check 8003 for the following keyword:
   "DISABLE_NEW_DEPRECATED_INTERFACES"
   Indeed, this error has been corrected on the latest version of
   BaseTools, but is still triggered when using the older python
   packages containing the BaseTools.
3- Add word exceptions for the cspell tool.

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
DynamicTablesPkg/DynamicTablesPkg.ci.yaml

index 211615bc80e2840791738c4ecd14e422d806947e..bfa282926e48c79ea748b12dee19a322197eaed1 100644 (file)
@@ -5,6 +5,28 @@
 # SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ##\r
 {\r
+    "EccCheck": {\r
+        ## Exception sample looks like below:\r
+        ## "ExceptionList": [\r
+        ##     "<ErrorID>", "<KeyWord>"\r
+        ## ]\r
+        "ExceptionList": [\r
+        # "The #ifndef at the start of an include file should use\r
+        # both prefix and postfix underscore characters, '_'"\r
+        # This error is not triggered for the latest BaseTools code.\r
+        # @TODO The error should be re-enabled when the python packages\r
+        # containing the BaseTools are updated to the latest version.\r
+        "8003", "DISABLE_NEW_DEPRECATED_INTERFACES",\r
+        "9005", "@defgroup",      # Use extra Doxygen commands\r
+        "9005", "@ingroup",       # Use extra Doxygen commands\r
+        "9005", "@mainpage",      # Use extra Doxygen commands\r
+        "9005", "@ref",           # Use extra Doxygen commands\r
+        ],\r
+        ## Both file path and directory path are accepted.\r
+        "IgnoreFiles": [\r
+        ]\r
+    },\r
+\r
     ## options defined .pytool/Plugin/CompilerPlugin\r
     "CompilerPlugin": {\r
         "DscPath": "DynamicTablesPkg.dsc"\r
@@ -23,6 +45,7 @@
     ## options defined .pytool/Plugin/DependencyCheck\r
     "DependencyCheck": {\r
         "AcceptableDependencies": [\r
+            "ArmPkg/ArmPkg.dec",\r
             "ArmPlatformPkg/ArmPlatformPkg.dec",\r
             "EmbeddedPkg/EmbeddedPkg.dec",\r
             "DynamicTablesPkg/DynamicTablesPkg.dec",\r
            "CCIDX",\r
            "CCSIDR",\r
            "countof",\r
+           "edynamic",\r
            "EOBJECT",\r
            "invoc",\r
+           "ITARGETSR",\r
            "GTBLOCK",\r
            "lgreater",\r
            "lless",\r
            "MPIDR",\r
            "PERIPHBASE",\r
+           "phandle",\r
            "pytool",\r
+           "Rdword",\r
            "Roadmap",\r
            "ROOTNODEBASE",\r
            "ssdtcmn",\r
            "ssdtserialporttemplate",\r
            "SMMUV",\r
+           "ssdtpcieosctemplate",\r
+           "SSDTPC",\r
            "standardised",\r
            "TABLEEX",\r
            "TNSID",\r