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:
@@ -73,7 +73,7 @@ if get_option('documentation')
|
||||
subdir('Documentation')
|
||||
endif
|
||||
|
||||
if get_option('tests')
|
||||
if get_option('test')
|
||||
subdir('test')
|
||||
endif
|
||||
|
||||
|
||||
@@ -7,6 +7,6 @@ option('documentation',
|
||||
type : 'boolean',
|
||||
description : 'Generate the project documentation')
|
||||
|
||||
option('tests',
|
||||
option('test',
|
||||
type : 'boolean',
|
||||
description: 'Compile and include the tests')
|
||||
|
||||
Reference in New Issue
Block a user