trivial: Include the new 'leak' sanitizer in the opt-out list

This commit is contained in:
Richard Hughes 2022-07-27 22:12:41 +01:00
parent 646afd164b
commit 3092afb9fa

View File

@ -553,7 +553,7 @@ gidocgen_app = find_program('gi-docgen', required: get_option('docs'))
# using "meson configure -Db_sanitize=address,undefined" is super useful in finding corruption,
# but it does not work with our GMainContext-abuse tests...
if get_option('b_sanitize').contains('address')
if get_option('b_sanitize') in ['address,undefined', 'address', 'undefined', 'leak']
run_sanitize_unsafe_tests = false
else
run_sanitize_unsafe_tests = true