Bug 1215686 - Disable ASAN leak reporting on reftests for now; r=mccr8

This commit is contained in:
Ehsan Akhgari 2015-10-16 17:22:25 -04:00
parent 9e9678a72e
commit 1bf9bdc48c

View File

@ -335,6 +335,13 @@ class RefTest(object):
xrePath=options.xrePath, debugger=options.debugger)
browserEnv["XPCOM_DEBUG_BREAK"] = "stack"
if mozinfo.info["asan"]:
# Disable leak checking for reftests for now
if "ASAN_OPTIONS" in browserEnv:
browserEnv["ASAN_OPTIONS"] += ":detect_leaks=0"
else:
browserEnv["ASAN_OPTIONS"] = "detect_leaks=0"
for v in options.environment:
ix = v.find("=")
if ix <= 0: