Add GPU process type to leaklog.py. (bug 1310110, r=mccr8)
authorDavid Anderson <danderson@mozilla.com>
Fri, 14 Oct 2016 23:27:14 -0700
changeset 318152 bb80294893738efd57ab7f172ae56ef1705bce1e
parent 318151 36b49ab783ae32db547d2304cd9c3c282bf7ee54
child 318153 e63eae10adb149bf36d4296888339c88754148bf
push id33211
push usercbook@mozilla.com
push dateMon, 17 Oct 2016 09:38:38 +0000
treeherderautoland@e4ef6fa03aa8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmccr8
bugs1310110
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Add GPU process type to leaklog.py. (bug 1310110, r=mccr8)
testing/mozbase/mozleak/mozleak/leaklog.py
--- a/testing/mozbase/mozleak/mozleak/leaklog.py
+++ b/testing/mozbase/mozleak/mozleak/leaklog.py
@@ -179,17 +179,17 @@ def process_leak_log(leak_log_file, leak
             "WARNING | leakcheck | refcount logging is off, so leaks can't be detected!")
         return
 
     leakThresholds = leak_thresholds or {}
     ignoreMissingLeaks = ignore_missing_leaks or []
 
     # This list is based on kGeckoProcessTypeString. ipdlunittest processes likely
     # are not going to produce leak logs we will ever see.
-    knownProcessTypes = ["default", "plugin", "tab", "geckomediaplugin"]
+    knownProcessTypes = ["default", "plugin", "tab", "geckomediaplugin", "gpu"]
 
     for processType in knownProcessTypes:
         log.info("TEST-INFO | leakcheck | %s process: leak threshold set at %d bytes"
                  % (processType, leakThresholds.get(processType, 0)))
 
     for processType in leakThresholds:
         if processType not in knownProcessTypes:
             log.info("TEST-UNEXPECTED-FAIL | leakcheck | Unknown process type %s in leakThresholds"