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

Unified Diff: build/android/test_runner.py

Issue 23082003: Android perf tests: always return 0 on the sharding stage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index 4ded27eedc3cd738f7b2d7432c95b57d7586a3b2..67d627155ccc51b6a383ec5e57e56c9cae235041 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -602,7 +602,7 @@ def _RunPerfTests(options, error_func):
runner_factory, tests = perf_setup.Setup(perf_options)
- results, exit_code = test_dispatcher.RunTests(
+ results, _ = test_dispatcher.RunTests(
tests, runner_factory, False, None, shard=True, test_timeout=None)
report_results.LogFull(
@@ -610,8 +610,9 @@ def _RunPerfTests(options, error_func):
test_type='Perf',
test_package='Perf',
build_type=options.build_type)
-
- return exit_code
+ # Always return 0 on the sharding stage. Individual tests exit_code
+ # will be returned on the print_step stage.
+ return 0
def RunTestsCommand(command, options, args, option_parser):
« 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