Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Nov 8, 2023
1 parent 91eca3d commit 95df55b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand Down

0 comments on commit 95df55b

Please sign in to comment.