diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-22 12:07:28 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-08-22 19:35:54 +0300 |
commit | 8a92e6fc72a0d226bbf9ae6932386b08926b471e (patch) | |
tree | f4a45e87d40d5a20d03e41a24a7c3986305b012c | |
parent | 965c5bf7fbf5b5140fdfa3b39efb8e484d72fddb (diff) |
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>
-rw-r--r-- | meson.build | 2 | ||||
-rw-r--r-- | meson_options.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 5201a2f5..72ad7c8b 100644 --- a/meson.build +++ b/meson.build @@ -73,7 +73,7 @@ if get_option('documentation') subdir('Documentation') endif -if get_option('tests') +if get_option('test') subdir('test') endif diff --git a/meson_options.txt b/meson_options.txt index 2d78b8d9..1a328045 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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') |