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

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

Issue 2760923002: [build/android] Fix device.RunShellCommand usages (Closed)
Patch Set: 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
Index: build/android/pylib/local/device/local_device_monkey_test_run.py
diff --git a/build/android/pylib/local/device/local_device_monkey_test_run.py b/build/android/pylib/local/device/local_device_monkey_test_run.py
index 31c7c8133d13a189b4eed322640aad60c78fc953..a59b67249c9de684196a0a6d32e8c42440614da2 100644
--- a/build/android/pylib/local/device/local_device_monkey_test_run.py
+++ b/build/android/pylib/local/device/local_device_monkey_test_run.py
@@ -115,7 +115,7 @@ class LocalDeviceMonkeyTestRun(local_device_test_run.LocalDeviceTestRun):
cmd.append('-v')
cmd.append(str(self._test_instance.event_count))
return device.RunShellCommand(
- cmd, timeout=self._test_instance.timeout)
+ cmd, timeout=self._test_instance.timeout, check_return=True)
finally:
try:
# Kill the monkey test process on the device. If you manually

Powered by Google App Engine
This is Rietveld 408576698