build: Fix run_command() usage in newer meson

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
This commit is contained in:
Bastien Nocera
2022-03-25 11:48:59 +01:00
parent 716ee37d51
commit 418f00ac40

View File

@@ -4,7 +4,7 @@ envs.set ('top_srcdir', meson.source_root())
python3 = find_program('python3')
unittest_inspector = find_program('unittest_inspector.py')
r = run_command(unittest_inspector, files('integration-test.py'))
r = run_command(unittest_inspector, files('integration-test.py'), check: true)
unit_tests = r.stdout().strip().split('\n')
foreach ut: unit_tests