591fa3b95b
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> |
||
---|---|---|
.. | ||
reference | ||
alpha-blending-test.c | ||
bad-buffer-test.c | ||
buffer-transforms-test.c | ||
color-manager-test.c | ||
config-parser-test.c | ||
devices-test.c | ||
drm-formats-test.c | ||
drm-smoke-test.c | ||
event-test.c | ||
input-timestamps-helper.c | ||
input-timestamps-helper.h | ||
internal-screenshot-test.c | ||
ivi-layout-internal-test.c | ||
ivi-layout-test-client.c | ||
ivi-layout-test-plugin.c | ||
ivi-shell-app-test.c | ||
ivi-test.h | ||
keyboard-test.c | ||
linux-explicit-synchronization-test.c | ||
matrix-test.c | ||
meson.build | ||
output-damage-test.c | ||
output-transforms-test.c | ||
plugin-registry-test.c | ||
pointer-shot-test.c | ||
pointer-test.c | ||
presentation-test.c | ||
roles-test.c | ||
setbacklight.c | ||
string-test.c | ||
subsurface-shot-test.c | ||
subsurface-test.c | ||
surface-global-test.c | ||
surface-screenshot-test.c | ||
surface-test.c | ||
text-test.c | ||
timespec-test.c | ||
touch-test.c | ||
vertex-clip-test.c | ||
viewporter-shot-test.c | ||
viewporter-test.c | ||
weston-test-client-helper.c | ||
weston-test-client-helper.h | ||
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 |