summaryrefslogtreecommitdiff
path: root/test/lsan/lit.common.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsan/lit.common.cfg')
-rw-r--r--test/lsan/lit.common.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lsan/lit.common.cfg b/test/lsan/lit.common.cfg
index 43ed02a4b..7020bd847 100644
--- a/test/lsan/lit.common.cfg
+++ b/test/lsan/lit.common.cfg
@@ -33,12 +33,12 @@ else:
config.name += config.name_suffix
# Platform-specific default LSAN_OPTIONS for lit tests.
-default_lsan_opts = ''
+default_lsan_opts = 'detect_leaks=1'
if config.host_os == 'Darwin':
# On Darwin, we default to `abort_on_error=1`, which would make tests run
# much slower. Let's override this and run lit tests with 'abort_on_error=0'.
# Also, make sure we do not overwhelm the syslog while testing.
- default_lsan_opts = 'abort_on_error=0'
+ default_lsan_opts += ':abort_on_error=0'
default_lsan_opts += ':log_to_syslog=0'
if default_lsan_opts: