Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted
authorAndrew McCreight <amccreight@mozilla.com>
Thu, 02 Oct 2014 08:42:11 -0700
changeset 208478 5bed1b3e2da643aaf6d6184f7ffb465989f87e66
parent 208477 6e6a4b63628f1fbd7e70aab331c5bf43def5eb6a
child 208479 3c341e9e6639a181a1f7d9ae992813f414e61db6
push id27585
push useremorley@mozilla.com
push dateFri, 03 Oct 2014 13:26:33 +0000
treeherderautoland@e4f5e843a370 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1068276
milestone35.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
Bug 1068276, part 4 - Fix indentation of leak option setting in reftests. r=ted
layout/tools/reftest/runreftest.py
--- a/layout/tools/reftest/runreftest.py
+++ b/layout/tools/reftest/runreftest.py
@@ -506,19 +506,18 @@ class ReftestOptions(OptionParser):
         self.error("cannot specify logfile with parallel tests")
       if options.totalChunks is not None and options.thisChunk is None:
         self.error("cannot specify thisChunk or totalChunks with parallel tests")
       if options.focusFilterMode != "all":
         self.error("cannot specify focusFilterMode with parallel tests")
       if options.debugger is not None:
         self.error("cannot specify a debugger with parallel tests")
 
-      options.leakThresholds = {"default": options.defaultLeakThreshold}
-
-      options.ignoreMissingLeaks = []
+    options.leakThresholds = {"default": options.defaultLeakThreshold}
+    options.ignoreMissingLeaks = []
 
     return options
 
 def main():
   automation = Automation()
   parser = ReftestOptions(automation)
   reftest = RefTest(automation)