Index: build/android/pylib/remote/device/remote_device_gtest_run.py |
diff --git a/build/android/pylib/remote/device/remote_device_gtest_run.py b/build/android/pylib/remote/device/remote_device_gtest_run.py |
index 06e82ccdcbec775d0d4d8b1de55eb24421f3bcd6..ca233f1023a8cbbb0ecdcb08cfded1898b51d5c4 100644 |
--- a/build/android/pylib/remote/device/remote_device_gtest_run.py |
+++ b/build/android/pylib/remote/device/remote_device_gtest_run.py |
@@ -49,10 +49,14 @@ class RemoteDeviceGtestRun(remote_device_test_run.RemoteDeviceTestRun): |
config_body = {'runner': runner_package} |
self._SetTestConfig(runner_type, config_body) |
+ _INSTRUMENTATION_STREAM_LEADER = 'INSTRUMENTATION_STATUS: stream=' |
+ |
#override |
def _ParseTestResults(self): |
logging.info('Parsing results from stdout.') |
output = self._results['results']['output'].splitlines() |
+ output = (l[len(self._INSTRUMENTATION_STREAM_LEADER):] for l in output |
+ if l.startswith(self._INSTRUMENTATION_STREAM_LEADER)) |
results_list = self._test_instance.ParseGTestOutput(output) |
results = base_test_result.TestRunResults() |
results.AddResults(results_list) |