summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorAdam Duskett <Aduskett@gmail.com>2018-01-15 06:25:46 -0500
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:50:09 +0200
commit7ef95182343af165023847e42e27c17ff0047062 (patch)
treeb8661d24c540cc1ec8b20d8af6ecb042b2806a63 /meson_options.txt
parent89c7df51e966c0b0c080c5ecab238dbe289c7768 (diff)
add false option for tests (#7778)
Currently there is no way to prevent tests from building using meson. This introduces two problems: 1) It adds a extra 381 files to compile. 2) One of these tests explicitly requires libgcrypt to be built even if systemd is not using it. 3) It adds C++ to the requirements to build systemd. When cross-compiling, this is uneccessary.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index aba8d1c20..49de45c22 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -346,7 +346,7 @@ option('bashcompletiondir', type : 'string',
option('zshcompletiondir', type : 'string',
description : 'directory for zsh completion scripts ["no" disables]')
-option('tests', type : 'combo', choices : ['true', 'unsafe'],
+option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
description : 'enable extra tests with =unsafe')
option('slow-tests', type : 'boolean', value : 'false',
description : 'run the slow tests by default')