Chromium Code Reviews| Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| index 1cc82f961405df3dcc7533a7ff1551c743fca76d..91234270d0db7bd347948808aeba36f41833d7f7 100644 |
| --- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| +++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py |
| @@ -35,6 +35,9 @@ TIMEOUT_ANNOTATIONS = [ |
| ('SmallTest', 1 * 60), |
| ] |
| +LOGCAT_FILTERS = ['*:e', 'chromium:v', 'cr_chromium:v', |
|
jbudorick
2017/03/20 22:31:19
I think we can just take 'cr_*:v' rather than the
BigBossZhiling
2017/03/20 22:37:13
Done.
|
| + 'cr_ChromiumAndroidLinker:v', 'cr_LibraryLoader:v', |
| + 'cr_LinkerTest:v'] |
| # TODO(jbudorick): Make this private once the instrumentation test_runner is |
| # deprecated. |
| @@ -291,7 +294,8 @@ class LocalDeviceInstrumentationTestRun( |
| time.strftime('%Y%m%dT%H%M%S', time.localtime()), |
| device.serial) |
| logmon = logdog_logcat_monitor.LogdogLogcatMonitor( |
| - device.adb, stream_name) |
| + device.adb, stream_name, filter_specs=LOGCAT_FILTERS) |
| + |
| with contextlib_ext.Optional( |
| logmon, self._test_instance.should_save_logcat): |
| with contextlib_ext.Optional( |