[PATCH weston v2 4/7] tests: Handle removal of seat global in test clients

Pekka Paalanen ppaalanen at gmail.com
Tue Feb 13 11:39:13 UTC 2018


On Thu,  8 Feb 2018 15:37:55 +0200
Alexandros Frantzis <alexandros.frantzis at collabora.com> wrote:

> The current test client code completely ignores removal of globals.
> This commit updates the code to properly handle removal of globals in
> general, and of seat globals in particular. This ensures that the test
> client objects are in sync with the server and any relevant resources
> are released accordingly.
> 
> This update will be used by upcoming tests to check that seat removal
> and re-addition is working properly.
> 
> Signed-off-by: Alexandros Frantzis <alexandros.frantzis at collabora.com>
> ---
> Changes in v2:
>  - Simplify input_destroy, no need to check for validity of wl_* objects.
> 
>  tests/weston-test-client-helper.c | 83 ++++++++++++++++++++++++++++++++++-----
>  tests/weston-test-client-helper.h |  1 +
>  2 files changed, 75 insertions(+), 9 deletions(-)

Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180213/2cd98cc3/attachment.sig>


More information about the wayland-devel mailing list