Bug 870745 - Remove incorrect self argument from killAndGetStack. r=ted

This commit is contained in:
Josh Matthews 2013-05-10 10:50:51 -04:00
parent d477225655
commit 5800bb1c02
2 changed files with 2 additions and 2 deletions

View File

@ -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."""

View File

@ -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