From c4ac77c71462e60775cb1a85b9f52a060262e398 Mon Sep 17 00:00:00 2001 From: Ted Mielczarek Date: Wed, 21 Sep 2011 10:27:16 -0400 Subject: [PATCH] bug 686807 - Refactor checkForCrashes to make it more usable for remote automation. r=jmaher --- build/automation.py.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/automation.py.in b/build/automation.py.in index 4de06389f798..9a2d23b53b42 100644 --- a/build/automation.py.in +++ b/build/automation.py.in @@ -844,6 +844,9 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t self.log.info("TEST-UNEXPECTED-FAIL | automation.py | child process %d still alive after shutdown", processPID) self.killPid(processPID) + def checkForCrashes(self, profileDir, symbolsPath): + automationutils.checkForCrashes(os.path.join(profileDir, "minidumps"), symbolsPath, self.lastTestSeen) + def runApp(self, testURL, env, app, profileDir, extraArgs, runSSLTunnel = False, utilityPath = None, xrePath = None, certPath = None, @@ -910,7 +913,7 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t # Do a final check for zombie child processes. self.checkForZombies(processLog) - automationutils.checkForCrashes(os.path.join(profileDir, "minidumps"), symbolsPath, self.lastTestSeen) + self.checkForCrashes(profileDir, symbolsPath) if os.path.exists(processLog): os.unlink(processLog)