mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
test: Make sure we run lcov from the meson source directory
In ac75c51927, we accidentally changed
the working directory that the tools executed in the wrapper script
are invoked in. This broke our invocations of lcov. Let's explicitly
run those in the meson source directory again to fix the coverage
workflow.
This commit is contained in:
committed by
Yu Watanabe
parent
e8908d2fc1
commit
d3d501e949
@@ -326,6 +326,7 @@ def process_coverage(args: argparse.Namespace, summary: Summary, name: str, jour
|
||||
'--quiet',
|
||||
],
|
||||
check=True,
|
||||
cwd=os.fspath(args.meson_source_dir),
|
||||
) # fmt: skip
|
||||
|
||||
subprocess.run(
|
||||
@@ -338,6 +339,7 @@ def process_coverage(args: argparse.Namespace, summary: Summary, name: str, jour
|
||||
'--quiet',
|
||||
],
|
||||
check=True,
|
||||
cwd=os.fspath(args.meson_source_dir),
|
||||
) # fmt: skip
|
||||
|
||||
Path(f'{output}.new').unlink()
|
||||
|
||||
Reference in New Issue
Block a user