From: Simon McVittie Date: Thu, 23 Jun 2022 18:27:05 +0000 (+0100) Subject: test: Disable sanitizers for test-segfault X-Git-Tag: dbus-1.15.0~32^2~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22b12cdb3fecb548fb9d5d509abb2a65afd6fab1;p=thirdparty%2Fdbus.git test: Disable sanitizers for test-segfault This resolves the TODO comment. Signed-off-by: Simon McVittie --- diff --git a/test/meson.build b/test/meson.build index 22855857e..e1d14fecd 100644 --- a/test/meson.build +++ b/test/meson.build @@ -133,13 +133,12 @@ test_privserver = executable('test-privserver', ) # This helper is meant to crash, so if we're compiling the rest with # AddressSanitizer, we need to stop it from catching the SIGSEGV and -# turning it into _exit(1); so don't give it SANITIZE_CFLAGS. -# CODE_COVERAGE_CFLAGS are fairly pointless here, too. -# TODO +# turning it into _exit(1). test_segfault = executable('test-segfault', 'test-segfault.c', 'disable-crash-handling.c', include_directories: root_include, dependencies: dbus_dependencies, + override_options: ['b_sanitize=none'], ) test_shell_service = executable('test-shell-service', 'test-shell-service.c',