Bug 1517178 - [raptor] disable adb verbose output during logcat collection, r=rwood.

This commit is contained in:
Bob Clary 2019-01-31 20:35:56 -08:00
Родитель 5ccc06113c
Коммит a50cb45a62
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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