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

Unified Diff: build/android/test_result.py

Issue 9185043: Increase Android test robustness. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove 'ALWAYS' Created 8 years, 11 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_executable.py ('k') | no next file » | 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 eb468f37e86050c0afe629eeb6ee6f041e4581f0..0c564368a133f7f4d383f4df6cb6c0e1445f7217 100644
--- a/build/android/test_result.py
+++ b/build/android/test_result.py
@@ -57,12 +57,14 @@ class TestResults(object):
self.unknown = []
self.disabled = []
self.unexpected_pass = []
+ self.timed_out = False
@staticmethod
- def FromOkAndFailed(ok, failed):
+ def FromOkAndFailed(ok, failed, timed_out=False):
ret = TestResults()
ret.ok = ok
ret.failed = failed
+ ret.timed_out = timed_out
return ret
@staticmethod
@@ -76,6 +78,8 @@ class TestResults(object):
ret.unknown += t.unknown
ret.disabled += t.disabled
ret.unexpected_pass += t.unexpected_pass
+ if t.timed_out:
+ ret.timed_out = True
return ret
def _Log(self, sorted_list):
« no previous file with comments | « build/android/test_package_executable.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698