зеркало из https://github.com/mozilla/gecko-dev.git
Bug 870745 - Remove incorrect self argument from killAndGetStack. r=ted
This commit is contained in:
Родитель
976a997386
Коммит
4ea62ac6f1
|
@ -917,7 +917,7 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t
|
|||
Also attempts to obtain a screenshot before killing the process."""
|
||||
if not debuggerInfo:
|
||||
self.dumpScreen(utilityPath)
|
||||
self.killAndGetStackNoScreenshot(self, processPID, utilityPath, debuggerInfo)
|
||||
self.killAndGetStackNoScreenshot(processPID, utilityPath, debuggerInfo)
|
||||
|
||||
def killAndGetStackNoScreenshot(self, processPID, utilityPath, debuggerInfo):
|
||||
"""Kill the process, preferrably in a way that gets us a stack trace."""
|
||||
|
|
|
@ -578,7 +578,7 @@ class XPCShellTests(object):
|
|||
|
||||
def testTimeout(self, test, processPID):
|
||||
self.log.error("TEST-UNEXPECTED-FAIL | %s | Test timed out" % test)
|
||||
Automation().killAndGetStackNoScreenshot(processPID, self.appPath, None)
|
||||
Automation().killAndGetStackNoScreenshot(processPID, self.appPath, self.debuggerInfo)
|
||||
|
||||
def post_to_autolog(self, results, name):
|
||||
from moztest.results import TestContext, TestResult, TestResultCollection
|
||||
|
|
Загрузка…
Ссылка в новой задаче