summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-11-03 23:04:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-11-03 23:04:56 +0000
commit169758b50e735d16cae087fe2df955073d893399 (patch)
tree68a89e9bbe312e228a63070e05bd4ce3212e2a34 /llvm/test
parented59d756d88dea5d181342083ce1cc193a76ad8d (diff)
downloadbcm5719-llvm-169758b50e735d16cae087fe2df955073d893399.tar.gz
bcm5719-llvm-169758b50e735d16cae087fe2df955073d893399.zip
Handle ASAN_OPTIONS and UBSAN_OPTIONS in TestingConfig.py
Currently they are passed to tests of llvm itself, but not, for example, lld. With this patch the options are visible in every test. llvm-svn: 221198
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/lit.cfg5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg
index c5179f7a582..40b5a25c497 100644
--- a/llvm/test/lit.cfg
+++ b/llvm/test/lit.cfg
@@ -95,11 +95,6 @@ for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']:
if symbolizer in os.environ:
config.environment[symbolizer] = os.environ[symbolizer]
-# Propagate options for sanitizers.
-for options in ['ASAN_OPTIONS', 'UBSAN_OPTIONS']:
- if options in os.environ:
- config.environment[options] = os.environ[options]
-
# Set up OCAMLPATH to include newly built OCaml libraries.
llvm_lib_dir = getattr(config, 'llvm_lib_dir', None)
if not llvm_lib_dir:
OpenPOWER on IntegriCloud