--- a/meson_options.txt~ 2018-08-29 15:33:20.000000000 +0200 +++ b/meson_options.txt 2019-03-31 13:14:19.542837289 +0200 @@ -1,2 +1,3 @@ option('disable-help', type : 'boolean', value : false) option('build-gst', type : 'boolean', value : false) +option('enable-tests', type : 'boolean', value : false) --- a/meson.build~ 2018-08-29 15:33:20.000000000 +0200 +++ b/meson.build 2019-03-31 13:14:56.299216758 +0200 @@ -84,5 +84,7 @@ if not get_option('disable-help') subdir('help') endif -subdir('tests') -subdir('tests/validate-tests') +if get_option('enable-tests') + subdir('tests') + subdir('tests/validate-tests') +endif