Verified Commit e554c094 authored by Niklāvs Koļesņikovs's avatar Niklāvs Koļesņikovs
Browse files

meson: It's useful downstream to be able to control building tests,


as most of Gentoo users will not be running the testing phase for
their local builds.
Co-authored-by: default avatarSam James <sam@gentoo.org>
parent 910273cb
Pipeline #401369 passed with stages
in 1 minute and 40 seconds
......@@ -109,4 +109,9 @@ subdir('lib')
subdir('docs')
subdir('modules')
subdir('src')
subdir('tests')
tests = get_option('tests')
if tests
subdir('tests')
endif
summary('Build tests', tests, bool_yn: true)
......@@ -24,3 +24,5 @@ option('systemd-user-unit-dir',
description : 'Directory for user systemd units')
option('glib-supp', type : 'string', value : '',
description: 'The glib.supp valgrind suppressions file to be used when running valgrind')
option('tests', type: 'boolean', value: 'true',
description: 'Build tests')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment