tests: Depend on exec-fd-leak-checker

Closes: https://gitlab.freedesktop.org/wayland/wayland/-/issues/514
Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Matt Turner 2024-12-19 21:49:02 -05:00 committed by Simon Ser
parent 6c1da92018
commit fdac631d17

View file

@ -54,7 +54,7 @@ tests_protocol_c = custom_target(
output: 'tests-protocol.c' output: 'tests-protocol.c'
) )
executable( exec_fd_leak_checker = executable(
'exec-fd-leak-checker', 'exec-fd-leak-checker',
'exec-fd-leak-checker.c', 'exec-fd-leak-checker.c',
dependencies: test_runner_dep dependencies: test_runner_dep
@ -129,6 +129,7 @@ tests = {
wayland_client_protocol_h, wayland_client_protocol_h,
wayland_server_protocol_h, wayland_server_protocol_h,
], ],
'runtime_deps': [ exec_fd_leak_checker ],
}, },
'socket-test': { 'socket-test': {
'extra_sources': [ 'extra_sources': [
@ -183,7 +184,9 @@ tests = {
'headers-protocol-core-test.c', 'headers-protocol-core-test.c',
], ],
}, },
'os-wrappers-test': {}, 'os-wrappers-test': {
'runtime_deps': [ exec_fd_leak_checker ],
},
'proxy-test': { 'proxy-test': {
'extra_sources': [ 'extra_sources': [
wayland_client_protocol_h, wayland_client_protocol_h,