diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-08-18 21:22:42 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-08-18 21:27:24 +0100 |
commit | 71a35e7c8b82b163a2370aeaf4dd62800cf90a7c (patch) | |
tree | 8071e375a749a98db0cd17db8b8ea7080c4d4ca1 /tests/meson.build | |
parent | 0f86a27df9ea0dc515ba9cc80c974cd15fe1d05a (diff) |
meson: add option to disable tests
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 4 |
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 |