diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2021-12-10 23:49:48 +0100 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2022-01-14 09:16:09 +0000 |
commit | 06eb27d50324223ef2d3a7f9cd0addaa721841de (patch) | |
tree | 010b28e6f42a7434901fcf1d40512d212c3507c2 /meson_options.txt | |
parent | b5284e5cccc3ae2898462b05cf89c917f022dd56 (diff) | |
download | mutter-06eb27d50324223ef2d3a7f9cd0addaa721841de.tar.gz |
tests: Run KMS tests inside a QEMU virtual machine
This commit makes it possible to run test executables in a test
environment constructed of a virtual machine running the Linux kernel
with the virtual KMS driver enabled, and a mocked system environment
using meta-dbus-runner.py/python-dbusmock.
The qemu machine is configured to use 256M of memory, as the default
128M was not enough for the tests to pass.
Using qemu is also only made possible on x86_64; more changes are needed
for it to be runnable on aarch64, so add a warning if it was enabled on
any other architecture.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2151>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 6609e4332..12457d261 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -141,6 +141,18 @@ option('tests', description: 'Enable tests globally. Specific test suites can be controlled with core_tests, clutter_tests, and cogl_tests' ) +option('kvm_tests', + type: 'boolean', + value: false, + description: 'Enable running certain tests in a virtual machine with a custom built kernel' +) + +option('kvm_kernel_image', + type: 'string', + value: '', + description: 'Path to a Linux kernel image to be used for KVM testing' +) + option('profiler', type: 'boolean', value: true, |