Skip to content

meson: add check kwarg to run_command

Thomas Andersen requested to merge phomes/mesa:meson-run-command into main

run_command will change the default for the check arg to true in the future. If it is true then meson will exit if the command fails. It must be false here as we check the return code to provide a meaningful error message.

With meson 0.61 we get the following warning:

WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300

Merge request reports