diff options
author | Simon McVittie <smcv@collabora.com> | 2022-04-21 12:15:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 12:15:27 +0100 |
commit | 4bf2d4e9b03cf60e108deae8900a8165370dc9f0 (patch) | |
tree | c6d8401f83f90a37157ea64c6d15af1cfb009a79 | |
parent | 77d1a77ea20eb2e3fb3ca84a2bbe241d0d454071 (diff) | |
parent | 34ea0ad841d6f9167db391c08e6cd51471fed6be (diff) | |
download | bubblewrap-4bf2d4e9b03cf60e108deae8900a8165370dc9f0.tar.gz |
Merge pull request #491 from ffontaine/main
meson: add tests option
-rw-r--r-- | meson.build | 4 | ||||
-rw-r--r-- | meson_options.txt | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 5b63aa6..9277ac4 100644 --- a/meson.build +++ b/meson.build @@ -152,4 +152,6 @@ if not meson.is_subproject() subdir('completions') endif -subdir('tests') +if get_option('tests') + subdir('tests') +endif diff --git a/meson_options.txt b/meson_options.txt index 2fa3a8c..a136a3c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -39,6 +39,12 @@ option( value : 'auto', ) option( + 'tests', + type : 'boolean', + description : 'build tests', + value : 'true', +) +option( 'zsh_completion', type : 'feature', description : 'install zsh completion script', |