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 |