mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 03:00:13 +01:00
clients/tests: set "UBSAN_OPTIONS" to abort tests and set "ASAN_OPTIONS=detect_leaks=1"
This commit is contained in:
parent
c6234e114b
commit
5198bce5ee
1 changed files with 3 additions and 2 deletions
|
|
@ -414,11 +414,12 @@ class Configuration:
|
|||
v = os.environ.get(name, None)
|
||||
if v is None:
|
||||
if name == ENV_NM_TEST_ASAN_OPTIONS:
|
||||
v = 'detect_leaks=0'
|
||||
v = 'detect_leaks=1'
|
||||
#v += ' fast_unwind_on_malloc=false'
|
||||
elif name == ENV_NM_TEST_LSAN_OPTIONS:
|
||||
v = ''
|
||||
elif name == ENV_NM_TEST_UBSAN_OPTIONS:
|
||||
v = ''
|
||||
v = 'print_stacktrace=1:halt_on_error=1'
|
||||
else:
|
||||
assert(False)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue