diff options
author | Thomas Haller <thaller@redhat.com> | 2020-05-14 11:30:33 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-05-14 12:19:34 +0200 |
commit | 5198bce5ee4acf1ba1c7bd641fee089ebb4dc057 (patch) | |
tree | 518c6f5f271ff97d2d7df8010fabf8b57d9740f0 | |
parent | c6234e114bc3dc5779451cf29634337879f0c6be (diff) | |
download | NetworkManager-5198bce5ee4acf1ba1c7bd641fee089ebb4dc057.tar.gz |
clients/tests: set "UBSAN_OPTIONS" to abort tests and set "ASAN_OPTIONS=detect_leaks=1"
-rwxr-xr-x | clients/tests/test-client.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py index 934cec60d3..8bbbdbfc47 100755 --- a/clients/tests/test-client.py +++ b/clients/tests/test-client.py @@ -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: |