mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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
This commit is contained in:
@@ -66,7 +66,7 @@ if get_option('introspection')
|
|||||||
base_args = files(vdtest + '.py')
|
base_args = files(vdtest + '.py')
|
||||||
suite = ['virtual-driver']
|
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')
|
unit_tests = r.stdout().strip().split('\n')
|
||||||
|
|
||||||
if r.returncode() == 0 and unit_tests.length() > 0
|
if r.returncode() == 0 and unit_tests.length() > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user