mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1215676 - Disable leak reporting during packaging; r=glandium
This commit is contained in:
parent
51c57d84c3
commit
a817a92522
@ -149,6 +149,8 @@ def precompile_cache(formatter, source_path, gre_path, app_path):
|
|||||||
extra_env = {'MOZ_STARTUP_CACHE': cache}
|
extra_env = {'MOZ_STARTUP_CACHE': cache}
|
||||||
if buildconfig.substs.get('MOZ_TSAN'):
|
if buildconfig.substs.get('MOZ_TSAN'):
|
||||||
extra_env['TSAN_OPTIONS'] = 'report_bugs=0'
|
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,
|
if launcher.launch(['xpcshell', '-g', gre_path, '-a', app_path,
|
||||||
'-f', os.path.join(os.path.dirname(__file__),
|
'-f', os.path.join(os.path.dirname(__file__),
|
||||||
'precompile_cache.js'),
|
'precompile_cache.js'),
|
||||||
|
Loading…
Reference in New Issue
Block a user