summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-04-21 18:51:09 +0100
committerSimon McVittie <smcv@collabora.com>2022-04-21 19:44:13 +0100
commit96ba9f4d8d747889a10e1a84594922e25fde495c (patch)
tree157fffae3bd3e914bc3f2b16ec1eb1b302af91ad /meson_options.txt
parentc500c362b85ad8119a6f07d91e47166c997753c9 (diff)
downloadlibglnx-96ba9f4d8d747889a10e1a84594922e25fde495c.tar.gz
tests: Optionally skip building and running the actual tests
If we're building libglnx as a subproject in a larger project, we won't necessarily want to run these. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 0000000..1028017
--- /dev/null
+++ b/meson_options.txt
@@ -0,0 +1,9 @@
+# Copyright 2022 Collabora Ltd.
+# SPDX-License-Identifier: LGPL-2.0-or-later
+
+option(
+ 'tests',
+ type : 'boolean',
+ description : 'build and run unit tests',
+ value : 'true',
+)