[gnome-bluetooth/wip/hadess/42.beta: 2/4] build: Fix meson warning about run_command()




commit 41d28328dc678ace61cec834dca299ae0001777f
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Feb 8 11:59:31 2022 +0100

    build: Fix meson warning about 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

 tests/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index c895ed67..70f08dbe 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,7 +9,7 @@ if enable_gir and has_dbusmock
 
   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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]