mutter/src/tests/kvm
Jonas Ådahl ae48019cce tests/kms: Run tests with kernel/user thread too
This means each test is run 4 times:

 * with atomic mode setting using a kernel thread,
 * with atomic mode setting using a user thread,
 * with legacy mode setting using a kernel thread, and
 * with legacy mode setting using a user thread.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2777>
2023-07-17 12:51:36 +02:00
..
build-linux.sh tests/kvm: Disable -Werror when building kernel image 2022-08-18 15:02:12 +00:00
kernel-version.txt tests: Run KMS tests inside a QEMU virtual machine 2022-01-14 09:16:09 +00:00
meson.build Add 'catch' option 2022-08-19 15:39:31 +02:00
README.md tests: Run KMS tests inside a QEMU virtual machine 2022-01-14 09:16:09 +00:00
run-kvm-test.sh tests: Use a more interoperable path to bash 2023-03-22 15:16:06 +00:00
virtme-run.sh tests/kms: Run tests with kernel/user thread too 2023-07-17 12:51:36 +02:00

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.