mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
Backed out changeset 7f8961ec163f (bug 969146) for B2G mochitest shutdown crashes.
This commit is contained in:
parent
13522d971a
commit
1706c755f4
@ -111,7 +111,6 @@ class B2GRunner(RemoteRunner):
|
||||
tmp_env = self.env or {}
|
||||
self.env = { 'MOZ_CRASHREPORTER': '1',
|
||||
'MOZ_CRASHREPORTER_NO_REPORT': '1',
|
||||
'MOZ_CRASHREPORTER_SHUTDOWN': '1',
|
||||
'MOZ_HIDE_RESULTS_TABLE': '1',
|
||||
'MOZ_PROCESS_LOG': processLog,
|
||||
'NSPR_LOG_MODULES': 'signaling:5,mtransport:3',
|
||||
@ -156,8 +155,7 @@ class B2GRunner(RemoteRunner):
|
||||
|
||||
self.kp_kwargs.update({'stream': sys.stdout,
|
||||
'processOutputLine': self.on_output,
|
||||
'onTimeout': self.on_timeout,
|
||||
'onFinish': self.on_finish})
|
||||
'onTimeout': self.on_timeout,})
|
||||
self.process_handler = self.process_class(self.command, **self.kp_kwargs)
|
||||
self.process_handler.run(timeout=timeout, outputTimeout=outputTimeout)
|
||||
|
||||
@ -223,9 +221,6 @@ class B2GRunner(RemoteRunner):
|
||||
self.log.testFail(msg % (self.last_test, timeout))
|
||||
self.check_for_crashes()
|
||||
|
||||
def on_finish(self):
|
||||
self.check_for_crashes()
|
||||
|
||||
def _reboot_device(self):
|
||||
serial, status = self._get_device_status()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user