From 6189d11183fba79b1806cac7962cb845ce466e71 Mon Sep 17 00:00:00 2001 From: Aaron Pop Date: Fri, 15 Nov 2024 09:26:39 -0800 Subject: [PATCH] Revert "BaseTools HostBasedUnittestRunner Modify CC_REORGANIZE to exclude Null implementations. (#1218)" This reverts commit 829c1b2850b054e324306673a85dfc5b78623ffc. --- .../Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py b/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py index f5608607e3..7d4e8eaba7 100644 --- a/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py +++ b/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py @@ -12,6 +12,7 @@ import xml.etree.ElementTree from edk2toolext.environment.plugintypes.uefi_build_plugin import IUefiBuildPlugin from edk2toolext import edk2_logging +import edk2toollib.windows.locate_tools as locate_tools from edk2toolext.environment import shell_environment from edk2toollib.utility_functions import RunCmd from edk2toollib.utility_functions import GetHostInfo @@ -298,7 +299,7 @@ def organize_coverage(self, thebuilder) -> int: params += f" -p {package}" * int(package != "") params += " --full" * int(thebuilder.env.GetValue("CC_FULL", "FALSE") == "TRUE") params += " --flatten" * int(thebuilder.env.GetValue("CC_FLATTEN", "FALSE") == "TRUE") - params += " --exclude *NULL*,*Null*,*null*" + return RunCmd("stuart_report", params) def parse_workspace(self, thebuilder) -> str: