summaryrefslogtreecommitdiff
path: root/tests/python
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-01-05 02:07:59 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-01-09 18:12:47 +0530
commit1be6d6ccf59fa0be508fc6e971e03bf663cf2094 (patch)
treed2831939009d40d139baf2f03b3298833d31e2a3 /tests/python
parent945fd11907e93712f1f3a45f61f9420f59edab38 (diff)
downloadgstreamer-1be6d6ccf59fa0be508fc6e971e03bf663cf2094.tar.gz
meson: Add explicit check: kwarg to all run_command() calls
This is required since Meson 0.61.0, and causes a warning to be emitted otherwise: https://github.com/mesonbuild/meson/commit/2c079d855ed87488bdcc6c5c06f59abdb9b85b6c https://github.com/mesonbuild/meson/issues/9300 This exposed a bunch of places where we had broken run_command() calls, unnecessary run_command() calls, and places where check: true should be used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1507>
Diffstat (limited to 'tests/python')
-rw-r--r--tests/python/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/python/meson.build b/tests/python/meson.build
index aae7cf63bd..14f5af4b84 100644
--- a/tests/python/meson.build
+++ b/tests/python/meson.build
@@ -8,7 +8,7 @@ endif
root_rel = '../..'
python = import('python').find_installation()
-if run_command(python, '-c', 'import gi').returncode() != 0
+if run_command(python, '-c', 'import gi', check: false).returncode() != 0
message('PyGObject not found, not running PyGObject tests')
subdir_done()
endif