summaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-08-18 21:22:42 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-08-18 21:27:24 +0100
commit71a35e7c8b82b163a2370aeaf4dd62800cf90a7c (patch)
tree8071e375a749a98db0cd17db8b8ea7080c4d4ca1 /tests/meson.build
parent0f86a27df9ea0dc515ba9cc80c974cd15fe1d05a (diff)
meson: add option to disable tests
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index cd3aa67d..1cc032c2 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,3 +1,5 @@
if host_machine.system() != 'windows'
- subdir('check')
+ if not get_option('tests').disabled() and gstcheck_dep.found()
+ subdir('check')
+ endif
endif