From dbceb561b054fbfc6dbaae14388dd7adec21453b Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Wed, 6 Apr 2022 20:09:27 +0200 Subject: [PATCH] meson: call run_command with check=true MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This avoids a warning in meson since the default value will change: 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 It's probably best to use the new default (true) that the old (false) Reviewed-by: Kai Wasserbäch Part-of: --- src/util/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/meson.build b/src/util/meson.build index 6a2e9dfd75d..1443a890eb2 100644 --- a/src/util/meson.build +++ b/src/util/meson.build @@ -387,7 +387,8 @@ if with_tests # https://gitlab.freedesktop.org/mesa/mesa/-/issues/2788 prog_winepath = find_program('winepath') process_test_exe_full_path = run_command( - prog_winepath, '-w', process_test_exe.full_path() + prog_winepath, '-w', process_test_exe.full_path(), + check : true ).stdout().strip() else process_test_exe_full_path = process_test_exe.full_path()