Loading testing/xpcshell/runxpcshelltests.py +7 −2 Original line number Diff line number Diff line Loading @@ -227,7 +227,9 @@ class XPCShellTestThread(Thread): Simple wrapper to get the return code for a given process. On a remote system we overload this to work with the remote process management. """ if proc is not None and hasattr(proc, "returncode"): return proc.returncode return -1 def communicate(self, proc): """ Loading Loading @@ -284,7 +286,10 @@ class XPCShellTestThread(Thread): self.log.info("%s | environment: %s" % (name, list(changedEnv))) def killTimeout(self, proc): if proc is not None and hasattr(proc, "pid"): mozcrash.kill_and_get_minidump(proc.pid, self.tempDir, utility_path=self.utility_path) else: self.log.info("not killing -- proc or pid unknown") def postCheck(self, proc): """Checks for a still-running test process, kills it and fails the test if found. Loading Loading
testing/xpcshell/runxpcshelltests.py +7 −2 Original line number Diff line number Diff line Loading @@ -227,7 +227,9 @@ class XPCShellTestThread(Thread): Simple wrapper to get the return code for a given process. On a remote system we overload this to work with the remote process management. """ if proc is not None and hasattr(proc, "returncode"): return proc.returncode return -1 def communicate(self, proc): """ Loading Loading @@ -284,7 +286,10 @@ class XPCShellTestThread(Thread): self.log.info("%s | environment: %s" % (name, list(changedEnv))) def killTimeout(self, proc): if proc is not None and hasattr(proc, "pid"): mozcrash.kill_and_get_minidump(proc.pid, self.tempDir, utility_path=self.utility_path) else: self.log.info("not killing -- proc or pid unknown") def postCheck(self, proc): """Checks for a still-running test process, kills it and fails the test if found. Loading