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

Unified Diff: build/android/test_result.py

Issue 10051021: apk-based test runner work for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « build/android/test_package_apk.py ('k') | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_result.py
diff --git a/build/android/test_result.py b/build/android/test_result.py
index 0c564368a133f7f4d383f4df6cb6c0e1445f7217..a8a7914e14802a5e0c148dd3d22889ea2ed9bc67 100644
--- a/build/android/test_result.py
+++ b/build/android/test_result.py
@@ -58,13 +58,15 @@ class TestResults(object):
self.disabled = []
self.unexpected_pass = []
self.timed_out = False
+ self.overall_fail = False
@staticmethod
- def FromOkAndFailed(ok, failed, timed_out=False):
+ def FromOkAndFailed(ok, failed, timed_out, overall_fail):
ret = TestResults()
ret.ok = ok
ret.failed = failed
ret.timed_out = timed_out
+ ret.overall_fail = overall_fail
return ret
@staticmethod
@@ -80,6 +82,8 @@ class TestResults(object):
ret.unexpected_pass += t.unexpected_pass
if t.timed_out:
ret.timed_out = True
+ if t.overall_fail:
+ ret.overall_fail = True
return ret
def _Log(self, sorted_list):
« no previous file with comments | « build/android/test_package_apk.py ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698