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): |