Skip to content

Commit

Permalink
test: fix profile path
Browse files Browse the repository at this point in the history
Signed-off-by: Zxilly <[email protected]>
  • Loading branch information
Zxilly committed Jul 11, 2024
1 parent 19f3b89 commit cd2ba82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/tool/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def enhance_coverage(f: str, out: str):
f,
"-o",
out,
]
],
cwd=get_project_root(),
)


Expand Down Expand Up @@ -58,7 +59,7 @@ def merge_covdata_dir(d: str, output: str):
log(f"Saved enhanced coverage data to {output}.")

def abs_path(s: str):
return os.path.abspath(s)
return os.path.abspath(os.path.join(get_project_root(), s))

merge_covdata_dir(get_covdata_unit_dir(), abs_path("unit.profile"))
merge_covdata_dir(get_covdata_integration_dir(), abs_path("integration.profile"))
Expand Down

0 comments on commit cd2ba82

Please sign in to comment.