From 8a92e6fc72a0d226bbf9ae6932386b08926b471e Mon Sep 17 00:00:00 2001 From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Date: Thu, 22 Aug 2019 12:07:28 +0300 Subject: 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> --- meson.build | 2 +- 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') -- cgit v1.2.1