Bug 1325275 - Re-enable leak testing on OSX in the prompts directory. r=ahal draft
authorAndrew McCreight <continuation@gmail.com>
Mon, 09 Jan 2017 10:27:28 -0800
changeset 457784 6c8a1c1d25e379eb895a693aeda613bf1871f86c
parent 457778 97d42daf66b508a5e9873e22ed491cf0e0ccb377
child 541590 926ee59c7b6606c8a0173be97dc7e111456eb974
push id40891
push userbmo:continuation@gmail.com
push dateMon, 09 Jan 2017 22:17:40 +0000
reviewersahal
bugs1325275
milestone53.0a1
Bug 1325275 - Re-enable leak testing on OSX in the prompts directory. r=ahal MozReview-Commit-ID: FWoPApp6BRw
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -2209,20 +2209,17 @@ toolbar#nav-bar {
             # Leak checking was broken in mochitest unnoticed for a length of time. During
             # this time, several leaks slipped through. The leak checking was fixed by bug
             # 1325148, but it couldn't land until all the regressions were also fixed or
             # backed out. Rather than waiting and risking new regressions, in the meantime
             # this code will selectively disable leak checking on flavors/directories where
             # known regressions exist. At least this way we can prevent further damage while
             # they get fixed.
 
-            info = mozinfo.info
-            skip_leak_conditions = [
-                (info['debug'] and options.flavor == 'plain' and d == 'toolkit/components/prompts/test' and info['os'] == 'mac', 'bug 1325275'),  # noqa
-            ]
+            skip_leak_conditions = []
 
             for condition, reason in skip_leak_conditions:
                 if condition:
                     self.log.warning('WARNING | disabling leakcheck due to {}'.format(reason))
                     self.disable_leak_checking = True
                     break
             else:
                 self.disable_leak_checking = False