mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
ci: Disable headless tests under asan
Our use of LD_PRELOAD for these tests does not sit right with asan, so just skip them in this case.
This commit is contained in:
parent
cf69fecc87
commit
baaa748248
@ -7,14 +7,17 @@ env.prepend('LD_PRELOAD', project_build_root / 'gtk' / 'libgtk-4.so')
|
|||||||
env.prepend('MESON_CURRENT_SOURCE_DIR', meson.current_source_dir())
|
env.prepend('MESON_CURRENT_SOURCE_DIR', meson.current_source_dir())
|
||||||
env.prepend('MESON_CURRENT_BUILD_DIR', meson.current_build_dir())
|
env.prepend('MESON_CURRENT_BUILD_DIR', meson.current_build_dir())
|
||||||
|
|
||||||
test('monitor',
|
# asan does not work with our use of LD_PRELOAD for these tests
|
||||||
find_program('run-headless-monitor-tests.sh', dirs: meson.current_source_dir()),
|
if get_option('b_sanitize') != 'address'
|
||||||
suite: ['headless'],
|
test('monitor',
|
||||||
env: env,
|
find_program('run-headless-monitor-tests.sh', dirs: meson.current_source_dir()),
|
||||||
)
|
suite: ['headless'],
|
||||||
|
env: env,
|
||||||
|
)
|
||||||
|
|
||||||
test('input',
|
test('input',
|
||||||
find_program('run-headless-input-tests.sh', dirs: meson.current_source_dir()),
|
find_program('run-headless-input-tests.sh', dirs: meson.current_source_dir()),
|
||||||
suite: ['headless'],
|
suite: ['headless'],
|
||||||
env: env,
|
env: env,
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user