]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
test: Disable sanitizers for test-segfault
authorSimon McVittie <smcv@collabora.com>
Thu, 23 Jun 2022 18:27:05 +0000 (19:27 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
This resolves the TODO comment.

Signed-off-by: Simon McVittie <smcv@collabora.com>
test/meson.build

index 22855857e097f24896524e5208e2e08b8e46dbf4..e1d14fecd9ab1128c828a51beedfe603ffd7503a 100644 (file)
@@ -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',