From 193092e26b14fe875e9448354166fa3fdb905214 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 3 Nov 2022 20:03:55 -0400 Subject: fix deprecated use of meson builddir/ in testsuite --- run_project_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_project_tests.py b/run_project_tests.py index 74ddd9e..b55d116 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -1407,7 +1407,7 @@ def check_meson_commands_work(use_tmpdir: bool, extra_args: T.List[str]) -> None meson_commands = mesonlib.python_command + [get_meson_script()] with TemporaryDirectoryWinProof(prefix='b ', dir=None if use_tmpdir else '.') as build_dir: print('Checking that configuring works...') - gen_cmd = meson_commands + [testdir, build_dir] + backend_flags + extra_args + gen_cmd = meson_commands + ['setup' , testdir, build_dir] + backend_flags + extra_args pc, o, e = Popen_safe(gen_cmd) if pc.returncode != 0: raise RuntimeError(f'Failed to configure {testdir!r}:\n{e}\n{o}') -- cgit v1.1