From bf68e722766ff0c40bd6bf73953c282c0efe4a44 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 24 Nov 2020 21:04:37 +0000 Subject: 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 Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- meson.build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'meson.build') 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' -- cgit v1.2.1