Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3661)

Unified Diff: build/android/test_runner.py

Issue 2169093003: [Android] Fix return code for Sharded Perf step. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index faec49217dab98fca50c2c394830493038196edb..7a14a7166735dffa60f5f91610d76ac0e9f34840 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -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)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698