From: Daan De Meyer Date: Wed, 22 Jan 2025 13:55:45 +0000 (+0100) Subject: test: Make sure we run lcov from the meson source directory X-Git-Tag: v258-rc1~1533 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3d501e94930c3865f13c881a23980941cce079f;p=thirdparty%2Fsystemd.git test: Make sure we run lcov from the meson source directory In ac75c5192797082c1965ab30be4711490f2937bc, 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. --- diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py index cc6e9656fd8..79348bbf62b 100755 --- a/test/integration-test-wrapper.py +++ b/test/integration-test-wrapper.py @@ -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()