Commit bec4caf4 authored by rnephew's avatar rnephew Committed by Commit bot

[Android] Fix return code for Sharded Perf step.

BUG=615157

Review-Url: https://codereview.chromium.org/2169093003
Cr-Commit-Position: refs/heads/master@{#406970}
parent 98fdddb4
......@@ -933,6 +933,9 @@ def RunTestsInPlatformMode(args):
json_results.GenerateJsonResultsFile(
all_raw_results, args.json_results_file)
if args.command == 'perf' and (args.steps or args.single_step):
return 0
return (0 if all(r.DidRunPass() for r in all_iteration_results)
else constants.ERROR_EXIT_CODE)
......
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