weston/tests
Pekka Paalanen 2dcc79f58e tests: add destroy listener in ivi-layout test plugin
Fixes ASan reported leak:

Direct leak of 136 byte(s) in 1 object(s) allocated from:
    #0 0x7ff60173c518 in calloc (/lib/x86_64-linux-gnu/libasan.so.5+0xe9518)
    #1 0x7ff5fcfed3fa in zalloc ../../git/weston/include/libweston/zalloc.h:38
    #2 0x7ff5fcfed8bf in wet_module_init ../../git/weston/tests/ivi-layout-test-plugin.c:196
    #3 0x7ff60161bd81 in wet_load_module ../../git/weston/compositor/main.c:941
    #4 0x7ff60161c165 in load_modules ../../git/weston/compositor/main.c:1012
    #5 0x7ff60162ced9 in wet_main ../../git/weston/compositor/main.c:3441
    #6 0x559a98fd7d4c in execute_compositor ../../git/weston/tests/weston-test-fixture-compositor.c:432
    #7 0x559a98fdb780 in weston_test_harness_execute_as_client ../../git/weston/tests/weston-test-runner.c:528
    #8 0x559a98fcbc48 in fixture_setup ../../git/weston/tests/ivi-layout-test-client.c:48
    #9 0x559a98fcbcca in fixture_setup_run_ ../../git/weston/tests/ivi-layout-test-client.c:50
    #10 0x559a98fdbd35 in main ../../git/weston/tests/weston-test-runner.c:661
    #11 0x7ff60129109a in __libc_start_main ../csu/libc-start.c:308
    #12 0x559a98fcb769 in _start (/home/pq/build/weston-meson/tests/test-ivi-layout-client+0xd769)

This also plugs the leak on wl_global_create() error path, though it
cannot really be tested.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2021-06-16 14:41:08 +00:00
..
reference tests: Add shot test for pointer cursor behavior 2021-06-10 17:20:30 +03:00
alpha-blending-test.c tests: destroy subcompositor in alpha-blending 2021-05-28 13:38:28 +03: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 tests/config-parser: Remove useless duplicate test 2019-11-28 19:24:13 +00:00
devices-test.c tests: migrate devices 2020-01-30 10:10:35 +00:00
drm-formats-test.c tests: fix leaks in drm-formats-test 2021-06-16 13:36:43 +00:00
drm-smoke-test.c tests: add drm_screenshot_no_damage 2021-02-25 12:47:07 +02:00
event-test.c tests: fix leak in events 2021-06-16 14:41:08 +00:00
input-timestamps-helper.c tests: replace fprintf() with testlog() 2019-11-22 12:54:10 +02:00
input-timestamps-helper.h tests: Introduce input timestamps helper 2018-02-20 10:20:29 +02:00
internal-screenshot-test.c tests: fix leaks in internal-screenshot-test 2021-06-16 14:41:08 +00:00
ivi-layout-internal-test.c tests: migrate ivi-layout-internal 2020-01-30 10:10:35 +00:00
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: Convert ivi-shell-app-test.c to use `weston_ini_setup` 2020-09-30 09:41:34 -03:00
ivi-test.h ivi-shell: implement surface_on_many_layer test 2016-06-29 11:32:23 +03:00
keyboard-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
linux-explicit-synchronization-test.c tests: migrate linux-explicit-synchronization 2020-01-30 10:10:35 +00:00
matrix-test.c Rename matrix.h to libweston/matrix.h 2019-04-18 12:31:46 +03:00
meson.build tests: ensure color-lcms plugin loads 2021-06-14 12:53:41 +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 tests: thread-based client harness 2020-01-30 10:10:34 +00:00
pointer-shot-test.c tests: Add shot test for pointer cursor behavior 2021-06-10 17:20:30 +03:00
pointer-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
presentation-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
roles-test.c tests: thread-based client harness 2020-01-30 10:10:34 +00:00
setbacklight.c tests: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:19 -07:00
string-test.c tests: add missing include 2017-01-23 14:12:06 +02:00
subsurface-shot-test.c tests: introduce struct fixture_metadata 2021-02-17 12:52:33 +00:00
subsurface-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
surface-global-test.c tests: migrate surface, surface-global 2020-01-30 10:10:35 +00:00
surface-screenshot-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
surface-test.c tests: migrate surface, surface-global 2020-01-30 10:10:35 +00:00
text-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
timespec-test.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
touch-test.c tests: migrate client tests 2020-01-30 10:10:35 +00:00
vertex-clip-test.c shared/helpers: use ARRAY_COPY where possible 2021-04-28 12:17:24 -03:00
viewporter-shot-test.c tests: introduce struct fixture_metadata 2021-02-17 12:52:33 +00:00
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 tests: call weston_layer_fini() 2021-05-28 13:38:28 +03:00
weston-test-fixture-compositor.c libweston: add required_capabilities test suite quirk 2021-03-12 16:14:28 +02:00
weston-test-fixture-compositor.h tests: add mechanism to change Weston's behavior when running certain tests 2020-10-27 11:21:55 +00:00
weston-test-runner.c tests: add build option to force skips as failures 2021-03-12 16:14:28 +02:00
weston-test-runner.h tests: introduce struct fixture_metadata 2021-02-17 12:52:33 +00:00
weston-test.c tests: proper weston_test_surface_create() 2021-05-28 13:38:28 +03:00
weston-testsuite-data.h tests: use fixture names in reports 2021-02-17 12:52:33 +00:00
xwayland-test.c tests: migrate xwayland 2020-01-30 10:10:35 +00:00
yuv-buffer-test.c tests: add XYUV8888 to yuv-test 2021-02-25 14:36:46 +02:00