meson: call run_command with check=true
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 <kai@dev.carbon-project.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15776>
This commit is contained in:
parent
1ecb440705
commit
dbceb561b0
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue