aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-11-03 20:03:55 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-11-17 19:10:51 -0500
commit193092e26b14fe875e9448354166fa3fdb905214 (patch)
tree15a008c36f15288fc2fb45a1e635fd7f79d28035
parent9e9a9ac4de043f3b803fdc00995595a4e6d55b1c (diff)
downloadmeson-193092e26b14fe875e9448354166fa3fdb905214.zip
meson-193092e26b14fe875e9448354166fa3fdb905214.tar.gz
meson-193092e26b14fe875e9448354166fa3fdb905214.tar.bz2
fix deprecated use of meson builddir/ in testsuite
-rwxr-xr-xrun_project_tests.py2
1 files changed, 1 insertions, 1 deletions
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}')