From 6161139f91640ece5ee981b1c3a6daf7483db249 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sat, 23 Dec 2023 23:18:49 -0500 Subject: [PATCH] project tests: handle code internally fetching the meson command Fixes crash when running the tests and yasm is installed, but nasm is not. When printing the compilers at early startup in run_project_tests.py, we try to detect the nasm compiler, which in this case turns out to be yasm, and its exelist assumes that the meson command is set. Fixes #12662 --- run_project_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/run_project_tests.py b/run_project_tests.py index be3a33298..b1ffe3c86 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -1631,6 +1631,7 @@ if __name__ == '__main__': clear_transitive_files() setup_symlinks() + mesonlib.set_meson_command(get_meson_script()) print('Meson build system', meson_version, 'Project Tests') print('Using python', sys.version.split('\n')[0], f'({sys.executable!r})')