summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-11-24 21:04:37 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-12-30 15:31:45 +0000
commitbf68e722766ff0c40bd6bf73953c282c0efe4a44 (patch)
tree2a1c6a7b33ccc33b0ff4e468b479397bd5011e02 /meson.build
parent0a823785fad27e1eb9a900e80923bc9bde106de9 (diff)
meson: test: Simplify top level meson
Utilise the subdir_done() functionality as is used with other optional components to simplify the top level meson file. Suggested-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 55cf36e1..c47eb420 100644
--- a/meson.build
+++ b/meson.build
@@ -121,10 +121,7 @@ subdir('src')
# through configuration values. They are enabled by default.
subdir('Documentation')
-
-if get_option('test')
- subdir('test')
-endif
+subdir('test')
if not meson.is_cross_build()
kernel_version_req = '>= 5.0.0'