Android perf tests: always return 0 on the sharding stage.
The first stage ("sharded steps") should never fail.
Individual steps' exit code will be returned on the second stage, print-step.
BUG=268450
[email protected]
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/23082003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217794 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index 4ded27ee..67d62715 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -602,7 +602,7 @@
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 @@
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):