Pass LSAN_OPTIONS down so that it is possible to add suppressions.

llvm-svn: 224777
This commit is contained in:
Rafael Espindola 2014-12-23 18:39:02 +00:00
parent f9dc0ab110
commit b47e702061

View File

@ -23,7 +23,8 @@ class TestingConfig:
}
pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS']
'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
'LSAN_OPTIONS']
for var in pass_vars:
environment[var] = os.environ.get(var, '')