Bug 782633 - Make the "missing output line for total leaks!" failure mode a warning rather than TEST-UNEXPECTED-FAIL; r=ted a=test-only B2G_1_0_0_20130115070201
authorEd Morley <emorley@mozilla.com>
Fri, 11 Jan 2013 22:20:21 +0000
changeset 118178 67503cae6a5afc5746c582a0d2f5117864d84f50
parent 118177 a94cf483a9e436bd999945d3de53b51b6ed01f65
child 118179 ac917100e7a9a40d393b9ab4337c77de44cb6376
push id261
push useremorley@mozilla.com
push dateTue, 15 Jan 2013 14:20:26 +0000
reviewersted, test-only
bugs782633
milestone18.0
Bug 782633 - Make the "missing output line for total leaks!" failure mode a warning rather than TEST-UNEXPECTED-FAIL; r=ted a=test-only
build/automationutils.py
--- a/build/automationutils.py
+++ b/build/automationutils.py
@@ -381,18 +381,17 @@ def processSingleLeakFile(leakLogFileNam
                    "name": name,
                    "size": matches.group("size"),
                    "rest": rest })
   if not seenTotal:
     if crashedOnPurpose:
       log.info("INFO | automationutils.processLeakLog() | process %s was " \
                "deliberately crashed and thus has no leak log" % PID)
     else:
-      log.info("TEST-UNEXPECTED-FAIL %s| automationutils.processLeakLog() | missing output line for total leaks!" %
-             processString)
+      log.info("WARNING | automationutils.processLeakLog() | missing output line for total leaks!")
   leaks.close()
 
 
 def processLeakLog(leakLogFile, leakThreshold = 0):
   """Process the leak log, including separate leak logs created
   by child processes.
 
   Use this function if you want an additional PASS/FAIL summary.