Skip to content

Commit

Permalink
tests: Use LeakSanitizer to catch future memory leaks
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • Loading branch information
Jakuje authored and simo5 committed Nov 22, 2024
1 parent ffb4822 commit f291b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if get_option('b_sanitize') == 'address'
name_prefix: '',
)

test_env.set('ASAN_OPTIONS', 'fast_unwind_on_malloc=0')
test_env.set('ASAN_OPTIONS', 'fast_unwind_on_malloc=0:detect_leaks=1')
test_env.set('LSAN_OPTIONS', 'suppressions=@0@/lsan.supp'.format(meson.current_source_dir()))
test_env.set('FAKE_DLCLOSE', fake_dlclose.full_path())

Expand Down

0 comments on commit f291b44

Please sign in to comment.