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>
This commit is contained in:
Christian Rauch 2022-09-04 18:27:15 +02:00 committed by Laurent Pinchart
parent cec5704d34
commit da9bb8dea6

View file

@ -47,6 +47,7 @@ option('qcam',
option('test', option('test',
type : 'boolean', type : 'boolean',
value : false,
description: 'Compile and include the tests') description: 'Compile and include the tests')
option('tracing', option('tracing',