Commit 86184c7b authored by bulach@chromium.org's avatar bulach@chromium.org

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
TBR=frankf@chromium.org
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
parent 285b744a
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment