diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-12-17 13:26:07 -0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-12-20 13:52:35 -0200 |
commit | ebb6c56f6719cfd06c7e738559fca9d2f9cb1012 (patch) | |
tree | d060795fb48fc531b5a812f5b4241c2e52b833c0 /meson_options.txt | |
parent | dcb525397c419b793549b8fd48958cbef33c9de3 (diff) | |
download | mutter-ebb6c56f6719cfd06c7e738559fca9d2f9cb1012.tar.gz |
Add Meson support for installed tests
This is the last remaining feature necessary to achieve
parity with the Autotools build.
A few changes were made to the install locations of the
tests, in order to better acomodate them in Meson:
* Tests are now installed under a versioned folder (e.g.
/usr/share/installed-tests/mutter-4)
* The mutter-cogl.test file is now generated from an .in
file, instead of a series of $(echo)s from within Makefile.
Notice that those tests need very controlled environments
to run correctly. Mutter installed tests, for example, will
failed when running under a regular session due to D-Bus
failing to acquire the ScreenCast and/or RemoteScreen names.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index a0924faf1..7626661d1 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -123,6 +123,12 @@ option('tests', description: 'Enable mutter tests' ) +option('installed_tests', + type: 'boolean', + value: true, + description: 'Enable mutter installed tests' +) + option('verbose', type: 'boolean', value: true, |