From c9effe53d48963da6269d33cfd8e95ec5c0218c6 Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Fri, 22 Aug 2014 10:59:22 -0700 Subject: [PATCH] Bug 1052224 - Disable leak checking in content processes. r=jmaher --- build/automationutils.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build/automationutils.py b/build/automationutils.py index 8534477c9142..a00d141335fb 100644 --- a/build/automationutils.py +++ b/build/automationutils.py @@ -354,8 +354,13 @@ def processSingleLeakFile(leakLogFileName, processType, leakThreshold): # totalBytesLeaked was seen and is non-zero. if totalBytesLeaked > leakThreshold: - # Fail the run if we're over the threshold (which defaults to 0) - prefix = "TEST-UNEXPECTED-FAIL" + if processType and processType == "tab": + # For now, ignore tab process leaks. See bug 1051230. + log.info("WARNING | leakcheck | ignoring leaks in tab process") + prefix = "WARNING" + else: + # Fail the run if we're over the threshold (which defaults to 0) + prefix = "TEST-UNEXPECTED-FAIL" else: prefix = "WARNING" # Create a comma delimited string of the first N leaked objects found,