mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 1518115 - Fix typo in intentional crash leak log processing. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D17007 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f4ff8ed880
commit
2fa8eee7f0
@ -265,7 +265,7 @@ class MachFormatter(base.BaseFormatter):
|
||||
def mozleak_total(self, data):
|
||||
if data["bytes"] is None:
|
||||
# We didn't see a line with name 'TOTAL'
|
||||
if data.get("induced_crashed", False):
|
||||
if data.get("induced_crash", False):
|
||||
data_log = data.copy()
|
||||
data_log["level"] = "INFO"
|
||||
data_log["message"] = ("leakcheck: %s deliberate crash and thus no leak log\n"
|
||||
|
@ -304,7 +304,7 @@ class TbplFormatter(BaseFormatter):
|
||||
def mozleak_total(self, data):
|
||||
if data["bytes"] is None:
|
||||
# We didn't see a line with name 'TOTAL'
|
||||
if data.get("induced_crashed", False):
|
||||
if data.get("induced_crash", False):
|
||||
return ("TEST-INFO | leakcheck | %s deliberate crash and thus no leak log\n"
|
||||
% data["process"])
|
||||
if data.get("ignore_missing", False):
|
||||
|
Loading…
Reference in New Issue
Block a user