summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2020-07-29 19:27:05 +0000
committerMike Gorse <mgorse@suse.com>2020-07-29 19:27:05 +0000
commitdcef8d0885e379c9a7f12258dbba03d174393805 (patch)
tree09dfd040b853969f4f65effd1af49cf64d68455b
parenteac8e935128753f8204ecc3904e6e3e7b231e3ea (diff)
parent466d04a57b32417dbf2d5e818af1b7593af5f802 (diff)
downloadat-spi2-atk-dcef8d0885e379c9a7f12258dbba03d174393805.tar.gz
Merge branch 'master' into 'master'
meson: add tests option See merge request GNOME/at-spi2-atk!22
-rw-r--r--meson.build4
-rw-r--r--meson_options.txt4
2 files changed, 7 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 9fce5d6..61bc93d 100644
--- a/meson.build
+++ b/meson.build
@@ -61,4 +61,6 @@ install_data('at-spi2-atk.desktop',
subdir('droute')
subdir('atk-adaptor')
-subdir('tests')
+if get_option('tests')
+ subdir('tests')
+endif
diff --git a/meson_options.txt b/meson_options.txt
index 24c9228..a4abdc2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,3 +2,7 @@ option('disable_p2p',
description: 'Disable peer-to-peer DBus connections',
type: 'boolean',
value: false)
+option('tests',
+ description: 'Whether to build tests',
+ type: 'boolean',
+ value: true)