Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: build/android/pylib/local/device/local_device_instrumentation_test_run.py

Issue 2767833002: (Reland) Use logdog butler subcommand to run tests. (Closed)
Patch Set: change timeout Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/android/logdog_logcat_monitor.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d3e636e20dff957d141e161ffa6a5d00c3939459..a8d9f5e6737828ccf5010f9070d4cdb553f407dd 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,7 @@ TIMEOUT_ANNOTATIONS = [
('SmallTest', 1 * 60),
]
+LOGCAT_FILTERS = ['*:e', 'chromium:v', 'cr_*:v']
# TODO(jbudorick): Make this private once the instrumentation test_runner is
# deprecated.
@@ -295,7 +296,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(
« no previous file with comments | « build/android/pylib/android/logdog_logcat_monitor.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698