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

Unified Diff: build/android/run_monkey_test.py

Issue 18323020: Updates the test runner script exit codes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Python dispatch issues in test_runner.py Created 7 years, 5 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 | « build/android/pylib/utils/report_results.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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():
« no previous file with comments | « build/android/pylib/utils/report_results.py ('k') | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698