aboutsummaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index df1850a..2815a61 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -95,6 +95,11 @@ 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']:
+ if options in os.environ:
+ config.environment[options] = os.environ[options]
+
###
import os
@@ -211,10 +216,8 @@ config.substitutions.append( ('%exeext', config.llvm_exe_ext) )
NOJUNK = r"(?<!\.|-|\^|/)"
for pattern in [r"\bbugpoint\b(?!-)",
- NOJUNK + r"\bclang\b(?!-)",
NOJUNK + r"\bllc\b",
r"\blli\b",
- r"\bllvm-PerfectShuffle\b",
r"\bllvm-ar\b",
r"\bllvm-as\b",
r"\bllvm-bcanalyzer\b",
@@ -241,8 +244,6 @@ for pattern in [r"\bbugpoint\b(?!-)",
NOJUNK + r"\bopt\b",
r"\bFileCheck\b",
r"\bFileUpdate\b",
- r"\bc-index-test\b",
- r"\bfpcmp\b",
r"\bobj2yaml\b",
r"\byaml2obj\b",
# Handle these specially as they are strings searched