From 5685546ab1e07d853fb9b97fed40a19ffbe4d324 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 29 Jan 2021 20:24:03 +0000 Subject: [PATCH] gio: Don't run gsocketclient-slow test under sanitizers AddressSanitizer, UndefinedBehaviourSanitizer and probably others involve adding instrumentation into the code under test, which doesn't go well with LD_PRELOAD modules that absolutely need to be self-contained. Signed-off-by: Simon McVittie --- gio/tests/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/tests/meson.build b/gio/tests/meson.build index aaa54afae..413dbd0c7 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -152,7 +152,8 @@ if host_machine.system() != 'windows' 'trash' : {}, } - if have_rtld_next + # LD_PRELOAD modules don't work so well with AddressSanitizer + if have_rtld_next and get_option('b_sanitize') == 'none' gio_tests += { 'gsocketclient-slow' : { 'depends' : [