From d3d501e94930c3865f13c881a23980941cce079f Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 22 Jan 2025 14:55:45 +0100 Subject: [PATCH] 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. --- test/integration-test-wrapper.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.47.3