diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-15 15:06:57 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-15 15:06:57 +0000 |
commit | 86184c7b54763e33725aa126172cf3196d373af6 (patch) | |
tree | 2a021f6b50dbd251b805b47cbe3b19368c60da1e /build/android/test_runner.py | |
parent | 285b744a5b38732d1474d533db9c2647e12f96d9 (diff) | |
download | chromium_src-86184c7b54763e33725aa126172cf3196d373af6.zip chromium_src-86184c7b54763e33725aa126172cf3196d373af6.tar.gz chromium_src-86184c7b54763e33725aa126172cf3196d373af6.tar.bz2 |
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
Diffstat (limited to 'build/android/test_runner.py')
-rwxr-xr-x | build/android/test_runner.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build/android/test_runner.py b/build/android/test_runner.py index 4ded27e..67d62715 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): |