summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in')
-rw-r--r--compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in b/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in
index ef34739b807..67a31973d15 100644
--- a/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in
+++ b/compiler-rt/test/scudo/standalone/unit/lit.site.cfg.py.in
@@ -10,3 +10,7 @@ config.name = 'ScudoStandalone-Unit'
# For unit tests, we define it as build directory with unit tests.
config.test_exec_root = "@COMPILER_RT_BINARY_DIR@/lib/scudo/standalone/tests"
config.test_source_root = config.test_exec_root
+
+# Disable GWP-ASan for scudo internal tests.
+if config.gwp_asan:
+ config.environment['SCUDO_OPTIONS'] = 'GWP_ASAN_Enabled=0'
OpenPOWER on IntegriCloud