meson: Add option flags to control test suites building

Now the `tests` meson option controls weather we should build all the test suites
while `core_tests` controls mutter tests.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/442
This commit is contained in:
Marco Trevisan (Treviño)
2019-02-13 12:51:21 -05:00
committed by Marco Trevisan
parent 34312c272b
commit 5d1a87d355
3 changed files with 23 additions and 8 deletions

View File

@@ -875,6 +875,6 @@ pkg.generate(libmutter,
subdir('compositor/plugins')
if have_tests
if have_core_tests
subdir('tests')
endif