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

Unified Diff: tools/telemetry/telemetry/run_tests.py

Issue 11788006: [Telemetry] Fix run_test return code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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: tools/telemetry/telemetry/run_tests.py
diff --git a/tools/telemetry/telemetry/run_tests.py b/tools/telemetry/telemetry/run_tests.py
index c1f4eb751c2ee7b6a0c8ac8f61fdb86a804e75cf..4e79815c2a524f644b91298880e3227c6818babd 100644
--- a/tools/telemetry/telemetry/run_tests.py
+++ b/tools/telemetry/telemetry/run_tests.py
@@ -140,4 +140,4 @@ def Main(args, start_dir, top_level_dir):
os.chdir(olddir)
options_for_unittests.Set(None, None)
- return max(num_errors, 255)
+ return min(num_errors, 255)
« 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