about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lit.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 0be49bd8..06ad17aa 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -56,6 +56,14 @@ def addEnv(name):
 addEnv('HOME')
 addEnv('PWD')
 
+# Sanitizer environment variables
+addEnv('ASAN_OPTIONS')
+addEnv('ASAN_SYMBOLIZER_PATH')
+addEnv('LSAN_OPTIONS')
+addEnv('MSAN_OPTIONS')
+addEnv('MSAN_SYMBOLIZER_PATH')
+addEnv('TSAN_OPTIONS')
+
 # llvm-gcc on Ubuntu needs to be told where to look
 # for headers. If user has these in their environment
 # we should propagate to test environment