meson: rename 'enable-tests' option to just 'tests'
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 20 Jun 2017 01:14:25 +0000 (11:14 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 20 Jun 2017 06:43:49 +0000 (16:43 +1000)
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>
meson.build
meson_options.txt

index 9df35341aa1b13a8f98846e7b50f562eaf88cad2..aba7f48c247b1c6f0363f4c636b8730084f58350 100644 (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')
index f432e7ea1fd2028aaeb543fbcad830b036500dba..ad3095e3376f7f1de3b22e99812589ef17eaf2f5 100644 (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]')