summaryrefslogtreecommitdiffstats
path: root/testing/test_env.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_env.py')
-rwxr-xr-xtesting/test_env.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/test_env.py b/testing/test_env.py
index 052df67..d19f74f 100755
--- a/testing/test_env.py
+++ b/testing/test_env.py
@@ -108,6 +108,10 @@ def get_sanitizer_env(cmd, asan, lsan, msan, tsan):
# be a lot of incomplete stack traces in the reports.
extra_env['LD_LIBRARY_PATH'] = '/usr/lib/x86_64-linux-gnu/debug:'
+ suppressions_file = os.path.join(ROOT_DIR, 'tools', 'lsan',
+ 'suppressions.txt')
+ lsan_options += ['suppressions=%s' % suppressions_file,
+ 'print_suppressions=1']
extra_env['LSAN_OPTIONS'] = ' '.join(lsan_options)
if msan: