Bug 1325275 - Re-enable leak testing on OSX in the prompts directory. r=ahal
MozReview-Commit-ID: FWoPApp6BRw
--- 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