From da9bb8dea6821edcfd3464e8cba37ad4a91087d6 Mon Sep 17 00:00:00 2001
From: Christian Rauch <Rauch.Christian@gmx.de>
Date: Sun, 4 Sep 2022 18:27:15 +0200
Subject: meson: Disable tests by default

Compiling with tests adds a significant amount of build targets to the
meson build. However, tests are only of interest when a feature has been
implemented or for continuous integration.

Disable tests by default to reduce the computational resource requirements
and the duration of a complete libcamera built.

Signed-off-by: Christian Rauch <Rauch.Christian@gmx.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 meson_options.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meson_options.txt b/meson_options.txt
index 7a9aecfc..f1d67808 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -47,6 +47,7 @@ option('qcam',
 
 option('test',
         type : 'boolean',
+        value : false,
         description: 'Compile and include the tests')
 
 option('tracing',
-- 
cgit v1.2.1