From a817a92522fa474d9bfcc0298349b82a6c106dd2 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Wed, 14 Oct 2015 20:08:02 -0400 Subject: [PATCH] Bug 1215676 - Disable leak reporting during packaging; r=glandium --- toolkit/mozapps/installer/packager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/toolkit/mozapps/installer/packager.py b/toolkit/mozapps/installer/packager.py index 7555e397189b..e597d8e91727 100644 --- a/toolkit/mozapps/installer/packager.py +++ b/toolkit/mozapps/installer/packager.py @@ -149,6 +149,8 @@ def precompile_cache(formatter, source_path, gre_path, app_path): extra_env = {'MOZ_STARTUP_CACHE': cache} if buildconfig.substs.get('MOZ_TSAN'): extra_env['TSAN_OPTIONS'] = 'report_bugs=0' + if buildconfig.substs.get('MOZ_ASAN'): + extra_env['ASAN_OPTIONS'] = 'detect_leaks=0' if launcher.launch(['xpcshell', '-g', gre_path, '-a', app_path, '-f', os.path.join(os.path.dirname(__file__), 'precompile_cache.js'),