Index: build/android/run_monkey_test.py |
diff --git a/build/android/run_monkey_test.py b/build/android/run_monkey_test.py |
index 3ec952dcdb39872d093513a5710b50d9676d9d67..3160641684c020be0cd9bbab7e8dd5cfef9ec522 100755 |
--- a/build/android/run_monkey_test.py |
+++ b/build/android/run_monkey_test.py |
@@ -113,7 +113,11 @@ def DispatchPythonTests(options): |
test_type='Monkey', |
test_package='Monkey', |
build_type=options.build_type) |
- report_results.PrintAnnotation(results) |
+ # TODO(gkanwar): After the host-driven tests have been refactored, they sould |
+ # use the comment exit code system (part of pylib/base/shard.py) |
+ if not results.DidRunPass(): |
+ return 1 |
+ return 0 |
def main(): |