mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 969146 - DeviceRunner should always check for crashes onFinish, r=davehunt
This commit is contained in:
parent
2190b8ceed
commit
bfe983d00f
@ -37,6 +37,7 @@ class DeviceRunner(BaseRunner):
|
||||
|
||||
process_args = {'stream': sys.stdout,
|
||||
'processOutputLine': self.on_output,
|
||||
'onFinish': self.on_finish,
|
||||
'onTimeout': self.on_timeout }
|
||||
process_args.update(kwargs.get('process_args') or {})
|
||||
|
||||
@ -122,6 +123,9 @@ class DeviceRunner(BaseRunner):
|
||||
print(msg % (self.last_test, timeout))
|
||||
self.check_for_crashes()
|
||||
|
||||
def on_finish(self):
|
||||
self.check_for_crashes()
|
||||
|
||||
def check_for_crashes(self):
|
||||
dump_dir = self.device.pull_minidumps()
|
||||
BaseRunner.check_for_crashes(self, dump_directory=dump_dir, test_name=self.last_test)
|
||||
|
Loading…
Reference in New Issue
Block a user