From 95df55b250dea1273d5e5c6423e5305532f74eb2 Mon Sep 17 00:00:00 2001 From: Joey Vagedes Date: Wed, 8 Nov 2023 16:31:35 +0000 Subject: [PATCH] Formatting --- .../Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py b/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py index 83c198c3ae0..ab9fd8a4531 100644 --- a/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py +++ b/BaseTools/Plugin/HostBasedUnitTestRunner/HostBasedUnitTestRunner.py @@ -246,6 +246,7 @@ def gen_code_coverage_msvc(self, thebuilder): def organize_coverage(self, thebuilder) -> int: """Organize the generated coverage file by INF.""" db_path = self.parse_workspace(thebuilder) + buildOutputBase = thebuilder.env.GetValue("BUILD_OUTPUT_BASE") package = thebuilder.env.GetValue("CI_PACKAGE_NAME", "") file_out = package + "_coverage.xml" @@ -261,7 +262,6 @@ def parse_workspace(self, thebuilder) -> str: """Parses the workspace with Edk2DB with the tables necessarty to run stuart_report.""" db_path = os.path.join(thebuilder.env.GetValue("BUILD_OUTPUT_BASE"), "DATABASE.db") with Edk2DB(db_path, thebuilder.edk2path) as db: - db.register(SourceTable(), PackageTable(), InfTable()) env_dict = thebuilder.env.GetAllBuildKeyValues() | thebuilder.env.GetAllNonBuildKeyValues() db.parse(env_dict)