From 22b12cdb3fecb548fb9d5d509abb2a65afd6fab1 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 23 Jun 2022 19:27:05 +0100 Subject: [PATCH] test: Disable sanitizers for test-segfault This resolves the TODO comment. Signed-off-by: Simon McVittie --- test/meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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', -- 2.47.3