aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/asan/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/asan/lit.cfg.py')
-rw-r--r--compiler-rt/test/asan/lit.cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/lit.cfg.py b/compiler-rt/test/asan/lit.cfg.py
index 96201e6..0194c720 100644
--- a/compiler-rt/test/asan/lit.cfg.py
+++ b/compiler-rt/test/asan/lit.cfg.py
@@ -41,6 +41,9 @@ if default_asan_opts_str:
config.substitutions.append(
("%env_asan_opts=", "env ASAN_OPTIONS=" + default_asan_opts_str)
)
+config.substitutions.append(
+ ("%export_asan_opts=", "export ASAN_OPTIONS=" + default_asan_opts_str)
+)
# Setup source root.
config.test_source_root = os.path.dirname(__file__)