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

Unified Diff: build/android/pylib/utils/flakiness_dashboard_results_uploader.py

Issue 11901003: [Android] Reland 'Keep track of unknown test results at the TestRunner layer.' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/pylib/gtest/test_package.py ('k') | build/android/run_tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/utils/flakiness_dashboard_results_uploader.py
diff --git a/build/android/pylib/utils/flakiness_dashboard_results_uploader.py b/build/android/pylib/utils/flakiness_dashboard_results_uploader.py
index 8a47e94c0738984ad947d503a76e03a288ced553..bfd9196550191f8d5640f45d2b4b4ca6033146a4 100644
--- a/build/android/pylib/utils/flakiness_dashboard_results_uploader.py
+++ b/build/android/pylib/utils/flakiness_dashboard_results_uploader.py
@@ -151,13 +151,16 @@ class ResultsUploader(object):
self._test_results_map = {}
def AddResults(self, test_results):
+ # TODO(frankf): Differentiate between fail/crash/timeouts.
conversion_map = [
(test_results.ok, False,
json_results_generator.JSONResultsGeneratorBase.PASS_RESULT),
(test_results.failed, True,
json_results_generator.JSONResultsGeneratorBase.FAIL_RESULT),
(test_results.crashed, True,
- "C"),
+ json_results_generator.JSONResultsGeneratorBase.FAIL_RESULT),
+ (test_results.timed_out, True,
+ json_results_generator.JSONResultsGeneratorBase.FAIL_RESULT),
(test_results.unknown, True,
json_results_generator.JSONResultsGeneratorBase.NO_DATA_RESULT),
]
« no previous file with comments | « build/android/pylib/gtest/test_package.py ('k') | build/android/run_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698