[libcamera-devel] [PATCH] meson: disable tests by default

Christian Rauch Rauch.Christian at gmx.de
Sun Sep 4 18:27:15 CEST 2022


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 at gmx.de>
---
 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',
--
2.34.1



More information about the libcamera-devel mailing list