bug 913173 - fix xpcshell-test --debugger on OS X. r=gps

This commit is contained in:
Ted Mielczarek 2013-09-11 07:52:29 -04:00
parent d4f6be647f
commit add2bf9d39

View File

@ -789,8 +789,9 @@ class XPCShellTests(object):
"""
# Make assertions fatal
self.env["XPCOM_DEBUG_BREAK"] = "stack-and-abort"
# Enable crash reporting
self.env["MOZ_CRASHREPORTER"] = "1"
# Crash reporting interferes with debugging
if not self.debuggerInfo:
self.env["MOZ_CRASHREPORTER"] = "1"
# Don't launch the crash reporter client
self.env["MOZ_CRASHREPORTER_NO_REPORT"] = "1"
# Capturing backtraces is very slow on some platforms, and it's