зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1517178 - [raptor] disable adb verbose output during logcat collection, r=rwood.
This commit is contained in:
Родитель
5ccc06113c
Коммит
a50cb45a62
|
@ -484,7 +484,11 @@ class Raptor(object):
|
||||||
|
|
||||||
def check_for_crashes(self):
|
def check_for_crashes(self):
|
||||||
if self.config['app'] in ["geckoview", "fennec"]:
|
if self.config['app'] in ["geckoview", "fennec"]:
|
||||||
|
# Turn off verbose to prevent logcat from being inserted into the main log.
|
||||||
|
verbose = self.device._verbose
|
||||||
|
self.device._verbose = False
|
||||||
logcat = self.device.get_logcat()
|
logcat = self.device.get_logcat()
|
||||||
|
self.device._verbose = verbose
|
||||||
if logcat:
|
if logcat:
|
||||||
if mozcrash.check_for_java_exception(logcat, "raptor"):
|
if mozcrash.check_for_java_exception(logcat, "raptor"):
|
||||||
return
|
return
|
||||||
|
|
Загрузка…
Ссылка в новой задаче