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

Unified Diff: tools/isolate/run_test_cases.py

Issue 10825010: Run_test_case.py now returns 1 when at least 1 test fails. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 | « tools/isolate/data/gtest_fake/gtest_fake_pass.py ('k') | tools/isolate/run_test_cases_smoke_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/isolate/run_test_cases.py
diff --git a/tools/isolate/run_test_cases.py b/tools/isolate/run_test_cases.py
index 09427b17c00c59a2e4b2a9580f45099a1e49d14c..77344a949d51719a3163d3e1332f9cfb14c7bf58 100755
--- a/tools/isolate/run_test_cases.py
+++ b/tools/isolate/run_test_cases.py
@@ -554,7 +554,7 @@ def run_test_cases(executable, test_cases, jobs, timeout, no_dump):
len(results),
nb_runs,
nb_runs / duration)
- return 0
+ return int(bool(fail))
def main():
« no previous file with comments | « tools/isolate/data/gtest_fake/gtest_fake_pass.py ('k') | tools/isolate/run_test_cases_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698