meson: Rename 'tests' option to 'test'
The 'tests' option enables compilation of tests. On Gentoo and Chrome OS, the corresponding package USE flag is named 'test'. Rename the option to 'test' to bring it in line. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
965c5bf7fb
commit
8a92e6fc72
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ if get_option('documentation')
|
||||||
subdir('Documentation')
|
subdir('Documentation')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('tests')
|
if get_option('test')
|
||||||
subdir('test')
|
subdir('test')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,6 @@ option('documentation',
|
||||||
type : 'boolean',
|
type : 'boolean',
|
||||||
description : 'Generate the project documentation')
|
description : 'Generate the project documentation')
|
||||||
|
|
||||||
option('tests',
|
option('test',
|
||||||
type : 'boolean',
|
type : 'boolean',
|
||||||
description: 'Compile and include the tests')
|
description: 'Compile and include the tests')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue