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:
Laurent Pinchart
2019-08-22 19:35:54 +03:00
parent 965c5bf7fb
commit 8a92e6fc72
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ if get_option('documentation')
subdir('Documentation')
endif
if get_option('tests')
if get_option('test')
subdir('test')
endif
+1 -1
View File
@@ -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')