X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FMdeModulePkg.ci.yaml;h=1cfc1328390e40f7fd5fd4b5fd1cf44490f4f59a;hp=0bf149f205e6dd81c6f3e407c8a5ca4785b862db;hb=HEAD;hpb=e4612477b96b459f8d96b3e507a05c897c815fb0 diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.ci.yaml index 0bf149f205..f69989087b 100644 --- a/MdeModulePkg/MdeModulePkg.ci.yaml +++ b/MdeModulePkg/MdeModulePkg.ci.yaml @@ -2,17 +2,47 @@ # CI configuration for MdeModulePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
+# (C) Copyright 2021 Hewlett Packard Enterprise Development LP
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + ## options defined .pytool/Plugin/LicenseCheck + "LicenseCheck": { + "IgnoreFiles": [] + }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + "8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.UID", + "8005", "UNIVERSAL_PAYLOAD_PCI_ROOT_BRIDGE.HID", + "8001", "UefiSortLibUnitTestMain", + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + "Library/LzmaCustomDecompressLib", + "Library/BrotliCustomDecompressLib", + "Universal/RegularExpressionDxe" + ] + }, ## options defined ci/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "MdeModulePkg.dsc" }, + ## options defined ci/Plugin/HostUnitTestCompilerPlugin + "HostUnitTestCompilerPlugin": { + "DscPath": "Test/MdeModulePkgHostTest.dsc" + }, ## options defined ci/Plugin/CharEncodingCheck "CharEncodingCheck": { - "IgnoreFiles": [] + "IgnoreFiles": [ + "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/test/testc.c", + "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma/windows/testc.c" + ] }, ## options defined ci/Plugin/DependencyCheck @@ -24,7 +54,9 @@ "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an abstraction ], # For host based unit tests - "AcceptableDependencies-HOST_APPLICATION":[], + "AcceptableDependencies-HOST_APPLICATION":[ + "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec" + ], # For UEFI shell based apps "AcceptableDependencies-UEFI_APPLICATION":[], "IgnoreInf": [] @@ -35,6 +67,11 @@ "IgnoreInf": [], "DscPath": "MdeModulePkg.dsc" }, + ## options defined ci/Plugin/HostUnitTestDscCompleteCheck + "HostUnitTestDscCompleteCheck": { + "IgnoreInf": [""], + "DscPath": "Test/MdeModulePkgHostTest.dsc" + }, ## options defined ci/Plugin/GuidCheck "GuidCheck": { @@ -42,9 +79,9 @@ "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"], "IgnoreFoldersAndFiles": [], "IgnoreDuplicates": [ - "gEdkiiFormBrowserExProtocolGuid=gEfiFormBrowserExProtocolGuid", "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid", "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid", + "gEfiPeiMmCommunicationPpiGuid=gEfiPeiSmmCommunicationPpiGuid", ] }, @@ -73,7 +110,9 @@ "FVMAIN", "VARCHECKPCD", "Getxx", - "lzturbo" + "lzturbo", + "musthave", + "canthave" ], "AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported) }