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

Unified Diff: telemetry/telemetry/internal/platform/android_platform_backend.py

Issue 2718043005: [Telemetry] Clients expect "Unix" end-of-line from platform.RunCommand (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/android_platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/android_platform_backend.py b/telemetry/telemetry/internal/platform/android_platform_backend.py
index b7ac1703451b4da92a753afd8c5b909e97ac7a54..e125ce81332923e6b8ef9105db421efc62d8cfb6 100644
--- a/telemetry/telemetry/internal/platform/android_platform_backend.py
+++ b/telemetry/telemetry/internal/platform/android_platform_backend.py
@@ -473,8 +473,7 @@ class AndroidPlatformBackend(
return output
def RunCommand(self, command):
- return self._device.RunShellCommand(
- command, check_return=True, raw_output=True)
+ return '\n'.join(self._device.RunShellCommand(command, check_return=True))
@staticmethod
def ParseCStateSample(sample):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698