diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-05-30 13:48:16 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-06-01 10:10:41 +0200 |
commit | 04abfbe1d0cede34358f66e11ec58bb6266b976f (patch) | |
tree | edcf259446981d499ba2415725406c01c99693d4 /modules | |
parent | Merge !1302: renumber: allow renumbering a subnet to a single IP (diff) | |
download | knot-resolver-04abfbe1d0cede34358f66e11ec58bb6266b976f.tar.xz knot-resolver-04abfbe1d0cede34358f66e11ec58bb6266b976f.zip |
meson nit: deal with warning about future of run_command
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
In almost all cases we already check the return code explicitly
and throw a more descriptive message than what would be the default.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/policy/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/policy/meson.build b/modules/policy/meson.build index fd51b0fd..37f16839 100644 --- a/modules/policy/meson.build +++ b/modules/policy/meson.build @@ -19,7 +19,8 @@ integr_tests += [ # check git submodules were initialized lua_ac_submodule = run_command(['test', '-r', - '@0@/lua-aho-corasick/ac_fast.cxx'.format(meson.current_source_dir())]) + '@0@/lua-aho-corasick/ac_fast.cxx'.format(meson.current_source_dir())], + check: false) if lua_ac_submodule.returncode() != 0 error('run "git submodule update --init --recursive" to initialize git submodules') endif |