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

Unified Diff: build/android/run_instrumentation_tests.py

Issue 11230003: Android: upstream flakiness dashboard support for instrumentation tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/test_options_parser.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/run_instrumentation_tests.py
diff --git a/build/android/run_instrumentation_tests.py b/build/android/run_instrumentation_tests.py
index 37910c96466aeaed0b14b751a7fd96aa738fb47f..6fd7c52ec657243b30593de90445f7e7c07ed0b3 100755
--- a/build/android/run_instrumentation_tests.py
+++ b/build/android/run_instrumentation_tests.py
@@ -7,11 +7,14 @@
"""Runs both the Python and Java tests."""
import optparse
+import os
import sys
import time
from pylib import apk_info
from pylib import buildbot_report
+from pylib import constants
+from pylib import flakiness_dashboard_results_uploader
from pylib import ports
from pylib import run_java_tests
from pylib import run_python_tests
@@ -71,6 +74,12 @@ def DispatchInstrumentationTests(options):
all_results, summary_string, num_failing = SummarizeResults(
java_results, python_results, options.annotation, options.build_type)
+
+ if options.flakiness_dashboard_server:
+ flakiness_dashboard_results_uploader.Upload(
+ options.flakiness_dashboard_server, 'Chromium_Android_Instrumentation',
+ TestResults.FromTestResults([java_results, python_results]))
+
return num_failing
« no previous file with comments | « build/android/pylib/test_options_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698