fix deprecated use of meson builddir/ in testsuite

pull/11066/head
Eli Schwartz 2 years ago
parent 9e9a9ac4de
commit 193092e26b
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      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}')

Loading…
Cancel
Save