build: add option to disable tests

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
This commit is contained in:
Biswapriyo Nath 2024-07-06 07:23:33 +00:00 committed by Marius Vlad
parent 629abeaf36
commit 51eea1f265
2 changed files with 9 additions and 1 deletions

View file

@ -194,7 +194,9 @@ subdir('remoting')
subdir('pipewire')
subdir('clients')
subdir('wcap')
subdir('tests')
if get_option('tests')
subdir('tests')
endif
subdir('data')
subdir('man')
subdir('pam')

View file

@ -202,6 +202,12 @@ option(
description: 'Tools: screen recording decoder tool'
)
option(
'tests',
type: 'boolean',
value: true,
description: 'Compile Weston tests'
)
option(
'test-junit-xml',
type: 'boolean',