weston/doc/sphinx/toc
Leandro Ribeiro e8a8c13e0d tests: add support to run drm-backend tests locally
With this patch we add support to run DRM-backend tests locally
in the test suite. For now this won't work in the CI, as there
are no cards available. But the plan is to achieve this by using
VKMS (virtual KMS) in the future.

To run DRM-backend tests locally, first of all the user has to
set the environment variable WESTON_TEST_SUITE_DRM_DEVICE to
'card0', 'card1' or any other device where he wants to run
the tests. Also, for now it only works if it is run as root,
but in the future this problem will be solved.

The tests will run on a non-default seat. The reason for that
is that we want to avoid opening input devices unnecessarily.
Also, since DRM-backend usage requires gaining DRM master status
on a DRM KMS device, nothing else must be using the device at
the same time. To achieve this we use a lock to run the
DRM-backend tests sequentially.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2020-06-02 13:47:15 +00:00
..
libweston libweston: fold weston_compositor_tear_down() into weston_compositor_destroy() 2020-01-29 12:15:16 -03:00
libweston.rst doc: output management sequence diagrams 2020-01-27 12:14:14 +00:00
meson.build doc: overview of the test suite 2020-01-30 10:10:34 +00:00
test-suite-api.rst doc: overview of the test suite 2020-01-30 10:10:34 +00:00
test-suite.rst tests: add support to run drm-backend tests locally 2020-06-02 13:47:15 +00:00