Re: [PATCH libinput 1/3] meson: rename 'enable-tests' option to just 'tests'

2017-06-20 Thread Eric Engestrom
On Tuesday, 2017-06-20 12:26:24 +1000, Peter Hutterer wrote:
> All the other config options have a simple true/false as well.
> 
> Signed-off-by: Peter Hutterer 

All 3 patches are:
Reviewed-by: Eric Engestrom 

> ---
>  meson.build   | 2 +-
>  meson_options.txt | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meson.build b/meson.build
> index 9df35341..aba7f48c 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -436,7 +436,7 @@ executable('ptraccel-debug',
>  
>   tests 
>  
> -if get_option('enable-tests')
> +if get_option('tests')
>   dep_check = dependency('check', version : '>= 0.9.10')
>   valgrind = find_program('valgrind')
>   addr2line = find_program('addr2line')
> diff --git a/meson_options.txt b/meson_options.txt
> index f432e7ea..ad3095e3 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> @@ -10,7 +10,7 @@ option('debug-gui',
> type: 'boolean',
> default: true,
> description: 'Enable the "debug-gui" feature in the libinput tool 
> [default=true]')
> -option('enable-tests',
> +option('tests',
> type: 'boolean',
> default: true,
> description: 'Build the tests [default=true]')
> -- 
> 2.13.0
> 
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH libinput 1/3] meson: rename 'enable-tests' option to just 'tests'

2017-06-19 Thread Peter Hutterer
All the other config options have a simple true/false as well.

Signed-off-by: Peter Hutterer 
---
 meson.build   | 2 +-
 meson_options.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 9df35341..aba7f48c 100644
--- a/meson.build
+++ b/meson.build
@@ -436,7 +436,7 @@ executable('ptraccel-debug',
 
  tests 
 
-if get_option('enable-tests')
+if get_option('tests')
dep_check = dependency('check', version : '>= 0.9.10')
valgrind = find_program('valgrind')
addr2line = find_program('addr2line')
diff --git a/meson_options.txt b/meson_options.txt
index f432e7ea..ad3095e3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -10,7 +10,7 @@ option('debug-gui',
type: 'boolean',
default: true,
description: 'Enable the "debug-gui" feature in the libinput tool 
[default=true]')
-option('enable-tests',
+option('tests',
type: 'boolean',
default: true,
description: 'Build the tests [default=true]')
-- 
2.13.0

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel