Commits on Source (6)
-
Daniel Stone authored
Apparently the old behaviour was to silently succeed if program execution failed. Setting check: true not only avoids a Meson deprecation warning for not passing it, but gives us a more clear indication what goes on when, e.g. breathe doesn't run. Signed-off-by: Daniel Stone <daniels@collabora.com>
b510f4a9 -
Daniel Stone authored
Currently we have some device tests which run in a single iteration once, then in lots of iterations after that. The single-iteration case is useless, so remove it, which has the happy side effect of not breaking when we change the test signature. Signed-off-by: Daniel Stone <daniels@collabora.com>
ae2c4704 -
Daniel Stone authored
Make sure every test handler now gets a copy of wet_testsuite_data, which we'll later use for client<->compositor synchronisation. Signed-off-by: Daniel Stone <daniels@collabora.com>
fec581ab -
Daniel Stone authored
Keep a tracking set of every weston_output created by the compositor, and use this to listen to the repaint signal. This currently does nothing, but will later be used to listen to repaint signals as a client breakpoint type. Signed-off-by: Daniel Stone <daniels@collabora.com>
68cfc121 -
Daniel Stone authored
Add support for clients to request the server insert breakpoints at various points in its processing. These breakpoints are handled internally by semaphores (visible to tests through helpers): when the server reaches the specified point, it will pause execution until the client allows it to restart. A weston_compositor pointer returned at each breakpoint allows the client to reach across the thread boundary and access the server's internal data structures. This can be used to, for example, inspect paint nodes, internal damage, or any other work which is not necessarily client-visible. The majority of tests will not need to use this infrastructure; it is only intended for tightly-coupled tests which can very specifically dictate and anticipate the server's execution flow. Signed-off-by: Daniel Stone <daniels@collabora.com>
efde2fa0 -
Daniel Stone authored
This is a very simple test, mostly intended as a demonstration of the new client<->compositor breakpoint infrastructure. It ensures that for a simple test surface, a paint node has been created in the output's paint-node list, reflecting the properties of the attached buffer. This is an example of properties which are not observable by regular clients. Signed-off-by: Daniel Stone <daniels@collabora.com>
ce113969
tests/paint-node-test.c
0 → 100644