diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2023-12-23 23:18:49 -0500 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2023-12-24 07:55:30 -0800 |
commit | 7d652a6138c69e7af992c4108a9645c2b5c72317 (patch) | |
tree | cccc41f397ab0cd12d4fe67c2d207fe1faa90b4c | |
parent | 4761e4cad946b42daa8723672957e9c1eaeaa5be (diff) | |
download | meson-7d652a6138c69e7af992c4108a9645c2b5c72317.zip meson-7d652a6138c69e7af992c4108a9645c2b5c72317.tar.gz meson-7d652a6138c69e7af992c4108a9645c2b5c72317.tar.bz2 |
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
-rwxr-xr-x | run_project_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index ab567d3..c9d8fec 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -1623,6 +1623,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})') |