mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1156422 - Improve robustness of logcat collection in checkForCrashes; r=bc
This commit is contained in:
parent
c0cff41c3a
commit
2eb0898b78
@ -180,7 +180,13 @@ class RemoteAutomation(Automation):
|
|||||||
self.checkForANRs()
|
self.checkForANRs()
|
||||||
self.checkForTombstones()
|
self.checkForTombstones()
|
||||||
|
|
||||||
logcat = self._devicemanager.getLogcat(filterOutRegexps=fennecLogcatFilters)
|
try:
|
||||||
|
logcat = self._devicemanager.getLogcat(filterOutRegexps=fennecLogcatFilters)
|
||||||
|
except DMError:
|
||||||
|
print "getLogcat threw DMError; re-trying just once..."
|
||||||
|
time.sleep(1)
|
||||||
|
logcat = self._devicemanager.getLogcat(filterOutRegexps=fennecLogcatFilters)
|
||||||
|
|
||||||
javaException = mozcrash.check_for_java_exception(logcat)
|
javaException = mozcrash.check_for_java_exception(logcat)
|
||||||
if javaException:
|
if javaException:
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user