mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
5588f2a21c
Structure tests in a list of dictionaries, instead of requiring each test to have its own executable(...) and test(...) statement. The intention of this is to make it easier to add more test cases. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2262> |
||
---|---|---|
.. | ||
build-linux.sh | ||
kernel-version.txt | ||
meson.build | ||
README.md | ||
run-kvm-test.sh | ||
virtme-run.sh |
High level description of the files in this directory.
build-linux.sh
Builds a Linux kernel image meant to be launched using qemu. Doesn't make any assumptions about configuration other than that. It uses the drm kernel tree. It's used from meson.build.
kernel-version.txt
Describes the version of the Linux kernel to use; usually a tag. It's a separate file so that changing the version will make meson build a new kernel image.
virtme-run.sh
A helper script that uses 'virtme' to launch a qemu virtual machine with the host filesystem exposed inside the virtual machine.
run-kvm-test.sh
Runs the passed test executable in a mocked environment using 'meta-dbus-runner.py' (which uses python-dbusmock to create a mocked system environment.
meson.build
Contains one rule for building the Linux kernel image, and meson test cases that launches tests inside virtual machines.