meson: rename 'enable-tests' option to just 'tests'

All the other config options have a simple true/false as well.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
Peter Hutterer 2017-06-20 11:14:25 +10:00
parent 4cf9f8bee1
commit 088c3ea16b
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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]')