From 114097718a59734bfcb6440fe8fbc5cda6472e82 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 26 Aug 2022 11:48:32 +0200 Subject: [PATCH] build: Fix run_command() 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 --- tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index f01d8069..11942fa6 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -66,7 +66,7 @@ if get_option('introspection') base_args = files(vdtest + '.py') suite = ['virtual-driver'] - r = run_command(unittest_inspector, files(vdtest + '.py')) + r = run_command(unittest_inspector, files(vdtest + '.py'), check: true) unit_tests = r.stdout().strip().split('\n') if r.returncode() == 0 and unit_tests.length() > 0