make tests optional --- a/meson_options.txt 2016-09-19 23:35:54.944511834 +0200 +++ b/meson_options.txt 2016-09-19 23:36:10.693485976 +0200 @@ -1,2 +1,3 @@ option('enable-xunit', type : 'boolean', value : false) option('disable-help', type : 'boolean', value : false) +option('enable-tests', type : 'boolean', value : false) --- a/meson.build 2016-09-19 23:35:06.694590798 +0200 +++ b/meson.build 2016-09-19 23:35:45.092527990 +0200 @@ -57,7 +57,9 @@ if not get_option('disable-help') subdir('help') endif -subdir('tests') +if get_option('enable-tests') + subdir('tests') +endif archiver = find_program('git-archive-all', required : false) if archiver.found()