weston/tests
Pekka Paalanen 591fa3b95b tests: fix all leaks in devices-test
This fixes all ASan reported leaks in this test.

This test program has several tests named *_multiple that just run
another test function 30 times. Previously without cleanup all the
created clients would be left lingering, but now they are torn down. Ths
might cause a change in test behaviour, although that was never the
intention:

> It is intentional to run it so many times, but it is not intentional
> to run a hundred clients at a time.  The problem is that currently we
> have no destroy function for client.  However, the clients do not run
> simultaneously but serially, so the effect should be the same as if
> we'd destroy them (after the client finishes its body, it just 'is'
> and does nothing until the process exits)

- the original review discussion in
https://lists.freedesktop.org/archives/wayland-devel/2015-March/020957.html

The intention for the repeat testing is that as the Weston instance
remains from test to another, each test needs to undo its changes to the
devices. Failing to correcntly undo would accumulate devices.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2021-06-28 14:21:43 +03:00
..
reference tests/alpha-blending: add sRGB linear light case 2021-06-21 14:36:33 +00:00
alpha-blending-test.c tests/alpha-blending: add sRGB linear light case 2021-06-21 14:36:33 +00:00
bad-buffer-test.c tests: fix leaks in bad-buffer 2021-06-15 07:43:00 +00:00
buffer-transforms-test.c tests: fix refname leaks 2021-06-15 07:43:00 +00:00
color-manager-test.c Revert "compositor: add weston.ini option use-renderer-shadow" 2021-06-14 16:04:43 +03:00
config-parser-test.c
devices-test.c tests: fix all leaks in devices-test 2021-06-28 14:21:43 +03:00
drm-formats-test.c tests: fix leaks in drm-formats-test 2021-06-16 13:36:43 +00:00
drm-smoke-test.c
event-test.c tests: fix leak in events 2021-06-16 14:41:08 +00:00
input-timestamps-helper.c
input-timestamps-helper.h
internal-screenshot-test.c tests: fix leaks in internal-screenshot-test 2021-06-16 14:41:08 +00:00
ivi-layout-internal-test.c
ivi-layout-test-client.c tests: fix leaks in ivi-layout-test-client 2021-06-16 14:41:08 +00:00
ivi-layout-test-plugin.c tests: add destroy listener in ivi-layout test plugin 2021-06-16 14:41:08 +00:00
ivi-shell-app-test.c tests: fix leak in ivi-shell-app-test 2021-06-16 14:41:08 +00:00
ivi-test.h
keyboard-test.c tests: destroy client in keyboard-test 2021-06-16 14:41:08 +00:00
linux-explicit-synchronization-test.c tests: fix all leaks in linux-explicit-synchronization-test 2021-06-28 14:21:27 +03:00
matrix-test.c
meson.build tests/alpha-blending: reference blending 2021-06-21 14:36:33 +00:00
output-damage-test.c tests: fix refname leaks 2021-06-15 07:43:00 +00:00
output-transforms-test.c tests: fix refname leaks 2021-06-15 07:43:00 +00:00
plugin-registry-test.c
pointer-shot-test.c tests: fix leak in surface_commit_color() in pointer-shot 2021-06-16 14:41:08 +00:00
pointer-test.c tests: destroy client in pointer-test 2021-06-16 14:41:08 +00:00
presentation-test.c tests: fix leaks in presentation-test 2021-06-16 14:41:08 +00:00
roles-test.c tests: clean up in roles-test 2021-06-23 15:20:25 +03:00
setbacklight.c
string-test.c
subsurface-shot-test.c tests: fix some leaks in subsurface-shot-test 2021-06-28 14:20:27 +03:00
subsurface-test.c tests: reduce subsurface-test verbosity 2021-06-23 15:20:25 +03:00
surface-global-test.c tests: fix all leaks in surface-global-test 2021-06-28 14:21:27 +03:00
surface-screenshot-test.c
surface-test.c tests: fix all leaks in surface-test 2021-06-28 14:21:27 +03:00
text-test.c tests: fix all leaks in text-test 2021-06-28 14:21:27 +03:00
timespec-test.c
touch-test.c tests: fix all leaks in touch-test 2021-06-28 14:21:27 +03:00
vertex-clip-test.c
viewporter-shot-test.c
viewporter-test.c tests: clean up after viewporter-test 2021-05-31 12:35:01 +03:00
weston-test-client-helper.c tests: Store the pointer event serial 2021-06-10 17:20:30 +03:00
weston-test-client-helper.h tests: Store the pointer event serial 2021-06-10 17:20:30 +03:00
weston-test-desktop-shell.c
weston-test-fixture-compositor.c
weston-test-fixture-compositor.h
weston-test-runner.c
weston-test-runner.h
weston-test.c
weston-testsuite-data.h
xwayland-test.c
yuv-buffer-test.c tests: free pixman image in yuv-buffer-test 2021-06-28 14:21:27 +03:00